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/subscribe-dialog.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/subscribe-dialog.c')
-rw-r--r-- | mail/subscribe-dialog.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/subscribe-dialog.c b/mail/subscribe-dialog.c index 061dfaaa39..2b94afb0f8 100644 --- a/mail/subscribe-dialog.c +++ b/mail/subscribe-dialog.c @@ -431,9 +431,9 @@ fete_init (GtkObject *object) cell = e_cell_text_new (NULL, GTK_JUSTIFY_LEFT); text_cell = cell; - gtk_object_set (GTK_OBJECT (cell), - "bold_column", FOLDER_COL_SUBSCRIBED, - NULL); + g_object_set (G_OBJECT (cell), + "bold_column", FOLDER_COL_SUBSCRIBED, + NULL); e_table_extras_add_cell (E_TABLE_EXTRAS (extras), "cell_text", cell); /* toggle column */ @@ -1452,7 +1452,7 @@ static void menu_item_selected (GtkMenuItem *item, gpointer user_data) { SubscribeDialog *sc = SUBSCRIBE_DIALOG (user_data); - StoreData *sd = gtk_object_get_data (GTK_OBJECT (item), STORE_DATA_KEY); + StoreData *sd = g_object_get_data (G_OBJECT (item), STORE_DATA_KEY); g_return_if_fail (sd); @@ -1537,7 +1537,7 @@ populate_store_list (SubscribeDialog *sc) camel_url_free (url); item = gtk_menu_item_new_with_label (string); store_data_async_get_store (iter->data, got_sd_store, item); - gtk_object_set_data (GTK_OBJECT (item), STORE_DATA_KEY, iter->data); + g_object_set_data (G_OBJECT (item), STORE_DATA_KEY, iter->data); g_signal_connect(item, "activate", G_CALLBACK(menu_item_selected), sc); g_free (string); |