diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-03-06 00:01:46 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-03-06 00:01:46 +0800 |
commit | 8436f727bb98db48b70cb09b7246f2fdf5d22a60 (patch) | |
tree | 7333540de7bcedd6b3f2d6dcc1bd24c01f9331ab /widgets/menus/gal-view-collection.h | |
parent | 455d1eabc1ab7f5a8676bb027e6f3c7b79327b01 (diff) | |
download | gsoc2013-evolution-8436f727bb98db48b70cb09b7246f2fdf5d22a60.tar.gz gsoc2013-evolution-8436f727bb98db48b70cb09b7246f2fdf5d22a60.tar.zst gsoc2013-evolution-8436f727bb98db48b70cb09b7246f2fdf5d22a60.zip |
New changed signal.
2001-03-05 Christopher James Lahey <clahey@ximian.com>
* gal-view-collection.c, gal-view-collection.h
(gal_view_collection_changed): New changed signal.
svn path=/trunk/; revision=8555
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); |