diff options
Diffstat (limited to 'widgets/menus/gal-view-collection.h')
-rw-r--r-- | widgets/menus/gal-view-collection.h | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/widgets/menus/gal-view-collection.h b/widgets/menus/gal-view-collection.h index bfb790d0ae..82da6a2de6 100644 --- a/widgets/menus/gal-view-collection.h +++ b/widgets/menus/gal-view-collection.h @@ -16,16 +16,7 @@ extern "C" { #define GAL_IS_VIEW_COLLECTION(o) (GTK_CHECK_TYPE ((o), GAL_VIEW_COLLECTION_TYPE)) #define GAL_IS_VIEW_COLLECTION_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), GAL_VIEW_COLLECTION_TYPE)) -typedef struct { - GalView *view; - char *id; - gboolean changed; - gboolean ever_changed; - gboolean built_in; - char *filename; - char *title; - char *type; -} GalViewCollectionItem; +typedef struct GalViewCollectionItem GalViewCollectionItem; typedef struct { GtkObject base; @@ -49,8 +40,21 @@ typedef struct { */ void (*display_view) (GalViewCollection *collection, GalView *view); + void (*changed) (GalViewCollection *collection); } GalViewCollectionClass; +struct GalViewCollectionItem { + GalView *view; + char *id; + gboolean changed; + gboolean ever_changed; + gboolean built_in; + char *filename; + char *title; + char *type; + GalViewCollection *collection; +}; + /* Standard functions */ GtkType gal_view_collection_get_type (void); GalViewCollection *gal_view_collection_new (void); |