diff options
author | Not Zed <NotZed@Ximian.com> | 2002-12-02 11:23:57 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-12-02 11:23:57 +0800 |
commit | 9d77b85ae36094fd1a0b07be4ebb69e047c9cec1 (patch) | |
tree | bbbaa747e8cf40cb220d651d4b2fdd8159fae652 /shell/e-icon-factory.c | |
parent | 2a7bc6967326be929beb1e0d7a3ba091022d59e9 (diff) | |
download | gsoc2013-evolution-9d77b85ae36094fd1a0b07be4ebb69e047c9cec1.tar.gz gsoc2013-evolution-9d77b85ae36094fd1a0b07be4ebb69e047c9cec1.tar.zst gsoc2013-evolution-9d77b85ae36094fd1a0b07be4ebb69e047c9cec1.zip |
changed to use a gtkdialog instead of a gnome one.
2002-11-27 Not Zed <NotZed@Ximian.com>
* main.c (show_development_warning): changed to use a gtkdialog
instead of a gnome one.
(warning_dialog_response_callback): clicked->response.
* e-shell-folder-selection-dialog.c: Include gtk/gtkstock.h
* e-shell-folder-creation-dialog.c: include gnome-dialog.h
(dialog_response_cb): gtk_entry_get_text now returns const. Dont
free result.
* e-setup.c: include gnome-messagebox.h
* *.c: (re)run fix.sh over all, for e_notice changes & pick up
some deprecated functions.
* e-shell-shared-folder-picker-dialog.c
(shared_folder_discovery_callback): reformat e_notice call for
script.
* e-shell-offline-sync.c
(impl_SyncFolderProgressListener_reportFailure): Fix e_notice
call, we weren't passing type in.
* e-shell-folder-commands.c (xfer_result_callback): changed around
slightly to save some processing & allow a script to run.
(e_shell_command_rename_folder): reformat e_notice call to help script.
Include gnome-messagebox.h
svn path=/trunk/; revision=18977
Diffstat (limited to 'shell/e-icon-factory.c')
-rw-r--r-- | shell/e-icon-factory.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/shell/e-icon-factory.c b/shell/e-icon-factory.c index 740aefdbf0..c0fceafc42 100644 --- a/shell/e-icon-factory.c +++ b/shell/e-icon-factory.c @@ -56,9 +56,9 @@ icon_new (const char *name, icon->large_pixbuf = large_pixbuf; if (small_pixbuf != NULL) - gdk_pixbuf_ref (small_pixbuf); + g_object_ref (small_pixbuf); if (large_pixbuf != NULL) - gdk_pixbuf_ref (large_pixbuf); + g_object_ref (large_pixbuf); return icon; } @@ -73,9 +73,9 @@ icon_free (Icon *icon) g_free (icon->name); if (icon->large_pixbuf != NULL) - gdk_pixbuf_unref (icon->large_pixbuf); + g_object_unref (icon->large_pixbuf); if (icon->small_pixbuf != NULL) - gdk_pixbuf_unref (icon->small_pixbuf); + g_object_unref (icon->small_pixbuf); g_free (icon); } @@ -106,8 +106,8 @@ load_icon (const char *icon_name) icon = icon_new (icon_name, small_pixbuf, large_pixbuf); - gdk_pixbuf_unref (small_pixbuf); - gdk_pixbuf_unref (large_pixbuf); + g_object_unref (small_pixbuf); + g_object_unref (large_pixbuf); return icon; } @@ -153,10 +153,10 @@ e_icon_factory_get_icon (const char *icon_name, } if (mini) { - gdk_pixbuf_ref (icon->small_pixbuf); + g_object_ref (icon->small_pixbuf); return icon->small_pixbuf; } else { - gdk_pixbuf_ref (icon->large_pixbuf); + g_object_ref (icon->large_pixbuf); return icon->large_pixbuf; } } |