diff options
author | Chris Toshok <toshok@ximian.com> | 2002-08-02 06:53:44 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-08-02 06:53:44 +0800 |
commit | c48c6afed5fc757732d9c8ff2bc3cdab3c90645e (patch) | |
tree | f226858de31cdf95ec9ddc0e0271954578e3fa8f /addressbook/gui | |
parent | 14db6783bbd4785e0971867ca8e7bee7a06d15f9 (diff) | |
download | gsoc2013-evolution-c48c6afed5fc757732d9c8ff2bc3cdab3c90645e.tar gsoc2013-evolution-c48c6afed5fc757732d9c8ff2bc3cdab3c90645e.tar.gz gsoc2013-evolution-c48c6afed5fc757732d9c8ff2bc3cdab3c90645e.tar.bz2 gsoc2013-evolution-c48c6afed5fc757732d9c8ff2bc3cdab3c90645e.tar.lz gsoc2013-evolution-c48c6afed5fc757732d9c8ff2bc3cdab3c90645e.tar.xz gsoc2013-evolution-c48c6afed5fc757732d9c8ff2bc3cdab3c90645e.tar.zst gsoc2013-evolution-c48c6afed5fc757732d9c8ff2bc3cdab3c90645e.zip |
remove folders and folders_by_uri, and the 2 listeners.
2002-08-01 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names.h (struct
_ESelectNames): remove folders and folders_by_uri, and the 2
listeners.
* gui/component/select-names/e-select-names.c
(e_select_names_destroy): remove the hash_table_destroys of
folders and folders_by_uri, since they no longer exist. same for
other_contacts_listener and local_listener.
svn path=/trunk/; revision=17681
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names.c | 12 | ||||
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names.h | 5 |
2 files changed, 0 insertions, 17 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c index f22c189dcc..a990a7b977 100644 --- a/addressbook/gui/component/select-names/e-select-names.c +++ b/addressbook/gui/component/select-names/e-select-names.c @@ -580,21 +580,9 @@ e_select_names_destroy (GtkObject *object) { ESelectNames *e_select_names = E_SELECT_NAMES(object); - if (e_select_names->local_listener) { - gtk_signal_disconnect_by_data(GTK_OBJECT(e_select_names->local_listener), e_select_names); - gtk_object_unref(GTK_OBJECT(e_select_names->local_listener)); - } - - if (e_select_names->other_contacts_listener) { - gtk_signal_disconnect_by_data(GTK_OBJECT(e_select_names->other_contacts_listener), e_select_names); - gtk_object_unref(GTK_OBJECT(e_select_names->other_contacts_listener)); - } - gtk_object_unref(GTK_OBJECT(e_select_names->gui)); g_hash_table_foreach(e_select_names->children, (GHFunc) e_select_names_child_free, e_select_names); g_hash_table_destroy(e_select_names->children); - g_hash_table_destroy(e_select_names->folders); - g_hash_table_destroy(e_select_names->folders_by_uri); g_free(e_select_names->def); } diff --git a/addressbook/gui/component/select-names/e-select-names.h b/addressbook/gui/component/select-names/e-select-names.h index 443784ee9e..a351955ebe 100644 --- a/addressbook/gui/component/select-names/e-select-names.h +++ b/addressbook/gui/component/select-names/e-select-names.h @@ -33,7 +33,6 @@ #include "e-select-names-model.h" #include "e-util/e-list.h" -#include "shell/evolution-storage-listener.h" #ifdef __cplusplus extern "C" { @@ -75,10 +74,6 @@ struct _ESelectNames GtkWidget *search_entry; GtkWidget *select_entry; GtkWidget *status_message; - EvolutionStorageListener *local_listener; - EvolutionStorageListener *other_contacts_listener; - GHashTable *folders; - GHashTable *folders_by_uri; char *def; ESelectNamesFolder *current_folder; }; |