aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-10-21 09:42:20 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-10-21 09:42:20 +0800
commit40813c4d9845dba80606156a5d7ed96368ed9997 (patch)
tree71751a4bc313aaa60dfc571ebf9069b29a21ff5b /addressbook/gui/widgets
parenta33dd473039970a9b33d92609127435150c8e16e (diff)
downloadgsoc2013-evolution-40813c4d9845dba80606156a5d7ed96368ed9997.tar.gz
gsoc2013-evolution-40813c4d9845dba80606156a5d7ed96368ed9997.tar.zst
gsoc2013-evolution-40813c4d9845dba80606156a5d7ed96368ed9997.zip
register config hook.
2004-10-20 Not Zed <NotZed@Ximian.com> * gui/component/addressbook-component.c (addressbook_component_init): register config hook. * gui/component/addressbook-config.c: mostly re-written to use econfig. (query_for_supported_bases): convert to gtktreeview. * gui/widgets/eab-config.c (ecp_set_target): hook onto source changed. (ecp_source_changed): propagate changed state info. (ecp_class_init): setup private data. 2004-10-19 Not Zed <NotZed@Ximian.com> * gui/widgets/eab-menu.c (eabm_target_free): don't unref null book. svn path=/trunk/; revision=27666
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r--addressbook/gui/widgets/Makefile.am2
-rw-r--r--addressbook/gui/widgets/eab-menu.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/addressbook/gui/widgets/Makefile.am b/addressbook/gui/widgets/Makefile.am
index b54045a5c8..da204a4f06 100644
--- a/addressbook/gui/widgets/Makefile.am
+++ b/addressbook/gui/widgets/Makefile.am
@@ -40,6 +40,8 @@ noinst_LTLIBRARIES = \
libeabwidgets_la_SOURCES = \
$(CORBA_SOURCE) \
$(MARSHAL_GENERATED) \
+ eab-config.c \
+ eab-config.h \
eab-contact-display.c \
eab-contact-display.h \
eab-gui-util.c \
diff --git a/addressbook/gui/widgets/eab-menu.c b/addressbook/gui/widgets/eab-menu.c
index d70caeb91a..fd6c94c81e 100644
--- a/addressbook/gui/widgets/eab-menu.c
+++ b/addressbook/gui/widgets/eab-menu.c
@@ -60,7 +60,8 @@ eabm_target_free(EMenu *ep, EMenuTarget *t)
for (i=0;i<s->cards->len;i++)
g_object_unref(s->cards->pdata[i]);
g_ptr_array_free(s->cards, TRUE);
- g_object_unref(s->book);
+ if (s->book)
+ g_object_unref(s->book);
break; }
}