From dbbd21a4d621a47629ac03ffc71651172f574138 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 04 Jun 2005 09:39:48 +0000 Subject: Rework properties code to take only EvPropertyInfo in the constructor so 2005-06-04 Marco Pesenti Gritti * backend/ev-document-info.h: * backend/ev-document.c: (ev_document_info_free): * data/evince-properties.glade: * pdf/ev-poppler.cc: * ps/ps-document.c: (ps_document_get_info): * shell/ev-properties.c: (ev_properties_format_date), (set_property), (ev_properties_new): * shell/ev-properties.h: * shell/ev-window.c: (ev_window_cmd_file_properties): Rework properties code to take only EvPropertyInfo in the constructor so that it can be useful for nautilus plugin too. Deal with backends that doesnt support some properties. Make set property code generic. --- (limited to 'shell/ev-properties.h') diff --git a/shell/ev-properties.h b/shell/ev-properties.h index 0d0eaf8..1accd2f 100644 --- a/shell/ev-properties.h +++ b/shell/ev-properties.h @@ -22,31 +22,13 @@ #define __EV_PROPERTIES_H__ #include "ev-document.h" -#include "ev-document-security.h" #include "ev-window.h" -#include -#include #include -#include -#include G_BEGIN_DECLS -typedef struct _EvProperties EvProperties; - -struct _EvProperties { - GtkDialog parent; -}; - -GtkDialog *ev_properties_new (EvDocument *document, - GtkWidget *toplevel); - -gchar *ev_properties_format_date (GTime utime); - -size_t my_strftime (char *s, size_t max, - const char *fmt, - const struct tm *tm); +GtkDialog *ev_properties_new (EvDocumentInfo *info); G_END_DECLS -- cgit v0.9.1