From 8436f727bb98db48b70cb09b7246f2fdf5d22a60 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Mon, 5 Mar 2001 16:01:46 +0000 Subject: New changed signal. 2001-03-05 Christopher James Lahey * gal-view-collection.c, gal-view-collection.h (gal_view_collection_changed): New changed signal. svn path=/trunk/; revision=8555 --- widgets/menus/gal-view-collection.h | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'widgets/menus/gal-view-collection.h') 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); -- cgit v1.2.3