aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/e-address-widget.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-02-06 07:48:52 +0800
committerDan Winship <danw@src.gnome.org>2003-02-06 07:48:52 +0800
commit13fb419aa00a75cee734a775930b2e048b884254 (patch)
treefddfa1e3ed3871b24327025a70eb1328cc299931 /addressbook/gui/component/e-address-widget.c
parent0873dd0b655a282a3c05914ead1dcaf0d5e772ba (diff)
downloadgsoc2013-evolution-13fb419aa00a75cee734a775930b2e048b884254.tar
gsoc2013-evolution-13fb419aa00a75cee734a775930b2e048b884254.tar.gz
gsoc2013-evolution-13fb419aa00a75cee734a775930b2e048b884254.tar.bz2
gsoc2013-evolution-13fb419aa00a75cee734a775930b2e048b884254.tar.lz
gsoc2013-evolution-13fb419aa00a75cee734a775930b2e048b884254.tar.xz
gsoc2013-evolution-13fb419aa00a75cee734a775930b2e048b884254.tar.zst
gsoc2013-evolution-13fb419aa00a75cee734a775930b2e048b884254.zip
Remove cruft, rename ICONSDIR to IMAGESDIR. (serverdir, gladedir): Remove
* gui/component/Makefile.am (INCLUDES): Remove cruft, rename ICONSDIR to IMAGESDIR. (serverdir, gladedir): Remove defintions. * gui/component/addressbook-component.c (IS_CONTACT_TYPE): use g_ascii_strcasecmp (add_creatable_item): s/ICONSDIR/IMAGESDIR/ * gui/component/component-factory.c: #include <string.h> * gui/component/e-address-widget.c: Likewise. (e_address_widget_destroy): s/gtk_idle_remove/g_source_remove/ (e_address_widget_schedule_query): s/gtk_idle_add/g_idle_add/ svn path=/trunk/; revision=19786
Diffstat (limited to 'addressbook/gui/component/e-address-widget.c')
-rw-r--r--addressbook/gui/component/e-address-widget.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/addressbook/gui/component/e-address-widget.c b/addressbook/gui/component/e-address-widget.c
index c601278807..e9698d5b1d 100644
--- a/addressbook/gui/component/e-address-widget.c
+++ b/addressbook/gui/component/e-address-widget.c
@@ -26,6 +26,7 @@
#include <config.h>
#include <ctype.h>
+#include <string.h>
#include <gtk/gtklabel.h>
#include <libgnomeui/gnome-popup-menu.h>
#include <bonobo/bonobo-control.h>
@@ -79,7 +80,7 @@ e_address_widget_destroy (GtkObject *obj)
e_book_simple_query_cancel (common_book, addr->query_tag);
if (addr->query_idle_tag)
- gtk_idle_remove (addr->query_idle_tag);
+ g_source_remove (addr->query_idle_tag);
}
static gint
@@ -314,7 +315,7 @@ e_address_widget_schedule_query (EAddressWidget *addr)
{
if (addr->query_idle_tag || !doing_queries)
return;
- addr->query_idle_tag = gtk_idle_add (query_idle_fn, addr);
+ addr->query_idle_tag = g_idle_add (query_idle_fn, addr);
}
/*