From c48c6afed5fc757732d9c8ff2bc3cdab3c90645e Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Thu, 1 Aug 2002 22:53:44 +0000 Subject: remove folders and folders_by_uri, and the 2 listeners. 2002-08-01 Chris Toshok * 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 --- addressbook/gui/component/select-names/e-select-names.c | 12 ------------ addressbook/gui/component/select-names/e-select-names.h | 5 ----- 2 files changed, 17 deletions(-) (limited to 'addressbook/gui') 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; }; -- cgit