X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-properties.h;h=410ed1a966b501912693417e262ac42028441687;hb=6de49223c660b9233b7809e81f826cb99e6ecd5d;hp=f17e9639b87d09e012b2baa77b4994e2145ee495;hpb=cbdeaed3897f8fdd01995a356c1e3a829fffbf7e;p=evince.git diff --git a/shell/ev-properties.h b/shell/ev-properties.h index f17e9639..410ed1a9 100644 --- a/shell/ev-properties.h +++ b/shell/ev-properties.h @@ -23,12 +23,27 @@ #include "ev-document.h" -#include -#include +#include G_BEGIN_DECLS -GtkDialog *ev_properties_new (EvDocument *document, const EvDocumentInfo *info); +typedef struct _EvProperties EvProperties; +typedef struct _EvPropertiesClass EvPropertiesClass; +typedef struct _EvPropertiesPrivate EvPropertiesPrivate; + +#define EV_TYPE_PROPERTIES (ev_properties_get_type()) +#define EV_PROPERTIES(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_PROPERTIES, EvProperties)) +#define EV_PROPERTIES_CLASS(klass) (G_TYPE_CHACK_CLASS_CAST((klass), EV_TYPE_PROPERTIES, EvPropertiesClass)) +#define EV_IS_PROPERTIES(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_PROPERTIES)) +#define EV_IS_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_PROPERTIES)) +#define EV_PROPERTIES_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_PROPERTIES, EvPropertiesClass)) + +GType ev_properties_get_type (void); +EvProperties *ev_properties_new (void); +void ev_properties_set_document (EvProperties *properties, + EvDocument *document); +void ev_properties_show (EvProperties *properties, + GtkWidget *parent); G_END_DECLS