[evolution/gtk3] gdk_cursor_unref -> g_object_unref



commit 3c2fb0b36c7f867cd743b1dfd5f41a06e2f87252
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 db278b8..08b7b4b 100644
--- a/mail/em-subscription-editor.c
+++ b/mail/em-subscription-editor.c
@@ -411,7 +411,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);
@@ -469,7 +469,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);
@@ -523,7 +523,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]