diff options
author | Dan Winship <danw@src.gnome.org> | 2003-02-06 07:47:44 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2003-02-06 07:47:44 +0800 |
commit | 8b4423c10c7e8168e4512c8a2522ffdb392453f3 (patch) | |
tree | acfeaef6274d94d241c9c8d1da8750b6bcafc500 /addressbook/gui/contact-list-editor/e-contact-list-editor.c | |
parent | 9ef99937403649cf8ffaea419c5c804def6f1439 (diff) | |
download | gsoc2013-evolution-8b4423c10c7e8168e4512c8a2522ffdb392453f3.tar gsoc2013-evolution-8b4423c10c7e8168e4512c8a2522ffdb392453f3.tar.gz gsoc2013-evolution-8b4423c10c7e8168e4512c8a2522ffdb392453f3.tar.bz2 gsoc2013-evolution-8b4423c10c7e8168e4512c8a2522ffdb392453f3.tar.lz gsoc2013-evolution-8b4423c10c7e8168e4512c8a2522ffdb392453f3.tar.xz gsoc2013-evolution-8b4423c10c7e8168e4512c8a2522ffdb392453f3.tar.zst gsoc2013-evolution-8b4423c10c7e8168e4512c8a2522ffdb392453f3.zip |
Remove cruft, s/ICONSDIR/IMAGESDIR/ (gladedir, etspecdir): Remove
* gui/contact-list-editor/Makefile.am (INCLUDES): Remove cruft,
s/ICONSDIR/IMAGESDIR/
(gladedir, etspecdir): Remove definitions.
* gui/contact-list-editor/e-contact-list-editor.c: #include
<string.h>
(e_contact_list_editor_init): s/ICONSDIR/IMAGESDIR/
(e_contact_list_editor_new): s/gtk_object_ref/g_object_ref/
* gui/contact-list-editor/e-contact-list-model.c: #include <string.h>
svn path=/trunk/; revision=19782
Diffstat (limited to 'addressbook/gui/contact-list-editor/e-contact-list-editor.c')
-rw-r--r-- | addressbook/gui/contact-list-editor/e-contact-list-editor.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c index 2459d5a157..e378ecfcd5 100644 --- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c +++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c @@ -22,6 +22,7 @@ #include "e-contact-list-editor.h" +#include <string.h> #include <glib.h> #include <libgnome/gnome-i18n.h> #include <libgnomeui/gnome-window-icon.h> @@ -302,7 +303,7 @@ e_contact_list_editor_init (EContactListEditor *editor) G_CALLBACK (app_delete_event_cb), editor); /* set the icon */ - icon_path = g_build_filename (EVOLUTION_ICONSDIR, "contact-list-16.png"); + icon_path = g_build_filename (EVOLUTION_IMAGESDIR, "contact-list-16.png"); gnome_window_icon_set_from_file (GTK_WINDOW (editor->app), icon_path); g_free (icon_path); } @@ -585,7 +586,7 @@ e_contact_list_editor_new (EBook *book, all_contact_list_editors = g_slist_prepend (all_contact_list_editors, ce); g_object_weak_ref (G_OBJECT (ce), contact_list_editor_destroy_notify, ce); - gtk_object_ref (GTK_OBJECT (ce)); + g_object_ref (ce); gtk_object_sink (GTK_OBJECT (ce)); g_object_set (ce, |