[evolution/gtk3: 41/47] gdk_cursor_unref -> g_object_unref



commit e37919ddeacb4b417fe5847cadbe80bf9099d8dc
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Sun Dec 26 13:02:46 2010 +0100

    gdk_cursor_unref -> g_object_unref

 mail/em-subscription-editor.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/mail/em-subscription-editor.c b/mail/em-subscription-editor.c
index 1ccab1a..f84486a 100644
--- a/mail/em-subscription-editor.c
+++ b/mail/em-subscription-editor.c
@@ -408,7 +408,7 @@ subscription_editor_subscribe (EMSubscriptionEditor *editor)
 	cursor = gdk_cursor_new (GDK_WATCH);
 	window = gtk_widget_get_window (GTK_WIDGET (editor));
 	gdk_window_set_cursor (window, cursor);
-	gdk_cursor_unref (cursor);
+	g_object_unref (cursor);
 
 	gtk_tree_model_get (
 		tree_model, &iter, COL_FOLDER_INFO, &folder_info, -1);
@@ -466,7 +466,7 @@ subscription_editor_unsubscribe (EMSubscriptionEditor *editor)
 	cursor = gdk_cursor_new (GDK_WATCH);
 	window = gtk_widget_get_window (GTK_WIDGET (editor));
 	gdk_window_set_cursor (window, cursor);
-	gdk_cursor_unref (cursor);
+	g_object_unref (cursor);
 
 	gtk_tree_model_get (
 		tree_model, &iter, COL_FOLDER_INFO, &folder_info, -1);
@@ -520,7 +520,7 @@ subscription_editor_refresh (EMSubscriptionEditor *editor)
 	cursor = gdk_cursor_new (GDK_WATCH);
 	window = gtk_widget_get_window (GTK_WIDGET (editor));
 	gdk_window_set_cursor (window, cursor);
-	gdk_cursor_unref (cursor);
+	g_object_unref (cursor);
 
 	camel_store_get_folder_info (
 		editor->priv->active->store, NULL,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]