aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-08-02 06:53:44 +0800
committerChris Toshok <toshok@src.gnome.org>2002-08-02 06:53:44 +0800
commitc48c6afed5fc757732d9c8ff2bc3cdab3c90645e (patch)
treef226858de31cdf95ec9ddc0e0271954578e3fa8f /addressbook
parent14db6783bbd4785e0971867ca8e7bee7a06d15f9 (diff)
downloadgsoc2013-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')
-rw-r--r--addressbook/ChangeLog11
-rw-r--r--addressbook/gui/component/select-names/e-select-names.c12
-rw-r--r--addressbook/gui/component/select-names/e-select-names.h5
3 files changed, 11 insertions, 17 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 1b3b3f1d4f..0500c987ba 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,14 @@
+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.
+
2002-08-01 Ettore Perazzoli <ettore@ximian.com>
* gui/component/addressbook-component.c (create_component): Use
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;
};