diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-15 01:20:52 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-15 01:20:52 +0800 |
commit | 1669f167476f98339194e04e3a628860c22a9153 (patch) | |
tree | dedcf4a701516aea0cfedc5f04235a2a469c025c /mail/mail-config-druid.c | |
parent | 25fbeda5e9e6f353ff65b5c2232bdf450a700b41 (diff) | |
download | gsoc2013-evolution-1669f167476f98339194e04e3a628860c22a9153.tar.gz gsoc2013-evolution-1669f167476f98339194e04e3a628860c22a9153.tar.zst gsoc2013-evolution-1669f167476f98339194e04e3a628860c22a9153.zip |
Want a (GWeakNotify) cast here, not (GWeakNotify *).
* component-factory.c (owner_set_cb): Want a (GWeakNotify) cast
here, not (GWeakNotify *).
* subscribe-dialog.c (fete_init): g_object_set() instead of
gtk_object_set().
(populate_store_list): Likewise.
(menu_item_selected): g_object_get_data() instead of
gtk_object_get_data().
* message-list.c (message_list_create_extras): g_object_set()
instead of gtk_object_set().
* message-browser.c (message_browser_message_list_built):
g_object_get_data() instead of gtk_object_get_data().
* mail-vfolder.c (edit_rule_response): g_object_get_data() instead
of gtk_object_get_data().
* mail-summary.c (generate_folder_summaries): g_object_unref() the
context instead of gtk_object_destroy().
* mail-local.c (reconfigure_response): g_object_get_data() instead
of gtk_object_get_data().
* mail-display.c (pixbuf_gen_idle): g_object_unref() the GdkPixbuf
loader instead of gtk_object_destroy().
(pixbuf_gen_idle): Likewise.
(embeddable_destroy_cb): Likewise.
* mail-config-druid.c (mail_config_druid_destroy): No need to
gtk_object_destroy() the GladeXML object.
(construct): g_object_set() instead of gtk_object_set().
* folder-browser.c (folder_browser_gui_init): g_object_get_data()
instead of gtk_object_get_data().
svn path=/trunk/; revision=18752
Diffstat (limited to 'mail/mail-config-druid.c')
-rw-r--r-- | mail/mail-config-druid.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c index 1922a741c0..c64d90fb14 100644 --- a/mail/mail-config-druid.c +++ b/mail/mail-config-druid.c @@ -126,7 +126,6 @@ mail_config_druid_destroy (GtkObject *obj) CORBA_Environment ev; if (druid->xml) { - gtk_object_destroy (GTK_OBJECT (druid->xml)); g_object_unref(druid->xml); druid->xml = NULL; @@ -644,7 +643,7 @@ construct (MailConfigDruid *druid) gtk_window_set_title (GTK_WINDOW (druid), _("Evolution Account Assistant")); gtk_window_set_policy (GTK_WINDOW (druid), FALSE, TRUE, FALSE); gtk_window_set_modal (GTK_WINDOW (druid), FALSE); - gtk_object_set (GTK_OBJECT (druid), "type", GTK_WINDOW_TOPLEVEL, NULL); + g_object_set (G_OBJECT (druid), "type", GTK_WINDOW_TOPLEVEL, NULL); druid->listener = bonobo_listener_new (NULL, NULL); g_signal_connect(druid->listener, "event-notify", |