aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-11-12 02:34:26 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-11-12 02:34:26 +0800
commiteefc354fcccec3e13cf966ec1732da50732efe3b (patch)
treec63e37d740dbf2a925654c08c97a02687a31b50a /mail/folder-browser.c
parentc552a5ba4f958d2bd23317e8c68f0606f1b1c4c8 (diff)
downloadgsoc2013-evolution-eefc354fcccec3e13cf966ec1732da50732efe3b.tar.gz
gsoc2013-evolution-eefc354fcccec3e13cf966ec1732da50732efe3b.tar.zst
gsoc2013-evolution-eefc354fcccec3e13cf966ec1732da50732efe3b.zip
Ported.
2002-11-11 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c: Ported. * folder-browser-factory.c: Ported. * folder-browser.c: Ported. svn path=/trunk/; revision=18699
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index b62b31940e..7b52727220 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -809,7 +809,8 @@ update_status_bar_idle_cb(gpointer data)
update_status_bar (fb);
fb->update_status_bar_idle_id = 0;
- gtk_object_unref (GTK_OBJECT (fb));
+ g_object_unref (fb);
+
return FALSE;
}
@@ -817,7 +818,7 @@ static void
update_status_bar_idle(FolderBrowser *fb)
{
if (fb->update_status_bar_idle_id == 0) {
- gtk_object_ref (GTK_OBJECT (fb));
+ g_object_ref (fb);
fb->update_status_bar_idle_id = g_idle_add (update_status_bar_idle_cb, fb);
}
}
@@ -830,10 +831,10 @@ static void main_folder_changed(CamelObject *o, void *event_data, void *data)
return;
/* so some corba unref doesnt blow us away while we're busy */
- gtk_object_ref((GtkObject *)fb);
- update_status_bar(fb);
+ g_object_ref (fb);
+ update_status_bar (fb);
folder_browser_ui_scan_selection (fb);
- gtk_object_unref((GtkObject *)fb);
+ g_object_unref (fb);
}
static void folder_changed (CamelObject *obj, void *event_data, void *user_data)
@@ -2046,7 +2047,7 @@ on_right_click (ETree *tree, gint row, ETreePath path, gint col, GdkEvent *event
closures = g_ptr_array_new ();
label_menu[0].closure = g_new (struct _label_data, 1);
g_ptr_array_add (closures, label_menu[0].closure);
- gtk_object_ref (GTK_OBJECT (fb));
+ g_object_ref (fb);
((struct _label_data *) label_menu[0].closure)->fb = fb;
((struct _label_data *) label_menu[0].closure)->label = NULL;