From 1669f167476f98339194e04e3a628860c22a9153 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 14 Nov 2002 17:20:52 +0000 Subject: 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 --- mail/mail-local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/mail-local.c') diff --git a/mail/mail-local.c b/mail/mail-local.c index 5ddf5194c1..3b06ebed5e 100644 --- a/mail/mail-local.c +++ b/mail/mail-local.c @@ -1390,7 +1390,7 @@ reconfigure_response(GtkDialog *dialog, int button, struct _reconfigure_msg *m) menu = gtk_option_menu_get_menu(m->optionlist); item = gtk_menu_get_active(GTK_MENU(menu)); - m->newtype = g_strdup(gtk_object_get_data((GtkObject *)item, "type")); + m->newtype = g_strdup(g_object_get_data (item, "type")); m->index_body = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(m->check_index_body)); gtk_widget_set_sensitive (m->frame, FALSE); -- cgit