diff options
author | Jon Trowbridge <trow@ximian.com> | 2001-12-08 00:43:44 +0800 |
---|---|---|
committer | Jon Trowbridge <trow@src.gnome.org> | 2001-12-08 00:43:44 +0800 |
commit | a3b92fe138eeacdbd24e8292c9ccc615bf8e949b (patch) | |
tree | 3203cf2842d98c75dc47de20d9520441958d2df3 /addressbook/gui/component/select-names/e-select-names-manager.h | |
parent | 3be029c79a9f458afa3e917afb1304ae24622eb0 (diff) | |
download | gsoc2013-evolution-a3b92fe138eeacdbd24e8292c9ccc615bf8e949b.tar.gz gsoc2013-evolution-a3b92fe138eeacdbd24e8292c9ccc615bf8e949b.tar.zst gsoc2013-evolution-a3b92fe138eeacdbd24e8292c9ccc615bf8e949b.zip |
Extensively refactored -- this code had gotten _really_ ugly. Untangle
2001-12-07 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-manager.c: Extensively
refactored -- this code had gotten _really_ ugly. Untangle things
to the point where our reference counting problems are fixable.
* gui/component/select-names/e-select-names-bonobo.c
(impl_destroy): Remove all of the ugly hacks to work around our
memory management problems, and just unref the manager.
(Fixes #14412)
svn path=/trunk/; revision=14934
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names-manager.h')
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-manager.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names-manager.h b/addressbook/gui/component/select-names/e-select-names-manager.h index 1304a13a71..9fdad2c304 100644 --- a/addressbook/gui/component/select-names/e-select-names-manager.h +++ b/addressbook/gui/component/select-names/e-select-names-manager.h @@ -27,8 +27,8 @@ typedef struct _ESelectNamesManagerClass ESelectNamesManagerClass; struct _ESelectNamesManager { GtkObject object; - EList *sections; - EList *entries; + GList *sections; + GList *entries; ESelectNames *names; @@ -40,6 +40,7 @@ struct _ESelectNamesManagerClass { void (*changed) (ESelectNamesManager *, const gchar *section_id, gint changed_working_copy); void (*ok) (ESelectNamesManager *); + void (*cancel) (ESelectNamesManager *); }; ESelectNamesManager *e_select_names_manager_new (void); @@ -51,12 +52,11 @@ void e_select_names_manager_add_section_with_limit (ESelectNames const char *title, gint limit); ESelectNamesModel *e_select_names_manager_get_source (ESelectNamesManager *manager, - const char *id); + const char *id); GtkWidget *e_select_names_manager_create_entry (ESelectNamesManager *manager, const char *id); void e_select_names_manager_activate_dialog (ESelectNamesManager *manager, const char *id); - /* Standard Gtk function */ GtkType e_select_names_manager_get_type (void); |