From 0b9efdacc1ff9bdc53e6cb6deb107597a9858c1e Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 28 Nov 2012 20:23:25 -0500 Subject: Avoid gdk_cursor_unref(). Use g_object_unref() instead. --- modules/cal-config-caldav/e-caldav-chooser-dialog.c | 2 +- modules/cal-config-google/e-google-chooser-dialog.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/cal-config-caldav/e-caldav-chooser-dialog.c b/modules/cal-config-caldav/e-caldav-chooser-dialog.c index 29848a017a..7cdfe0ad81 100644 --- a/modules/cal-config-caldav/e-caldav-chooser-dialog.c +++ b/modules/cal-config-caldav/e-caldav-chooser-dialog.c @@ -382,7 +382,7 @@ caldav_chooser_dialog_realize (GtkWidget *widget) display = gtk_widget_get_display (widget); cursor = gdk_cursor_new_for_display (display, GDK_WATCH); gdk_window_set_cursor (window, cursor); - gdk_cursor_unref (cursor); + g_object_unref (cursor); e_caldav_chooser_populate ( priv->chooser, priv->cancellable, diff --git a/modules/cal-config-google/e-google-chooser-dialog.c b/modules/cal-config-google/e-google-chooser-dialog.c index acf11f2a9d..f3371871d0 100644 --- a/modules/cal-config-google/e-google-chooser-dialog.c +++ b/modules/cal-config-google/e-google-chooser-dialog.c @@ -293,7 +293,7 @@ google_chooser_dialog_realize (GtkWidget *widget) display = gtk_widget_get_display (widget); cursor = gdk_cursor_new_for_display (display, GDK_WATCH); gdk_window_set_cursor (window, cursor); - gdk_cursor_unref (cursor); + g_object_unref (cursor); e_google_chooser_populate ( priv->chooser, priv->cancellable, (GAsyncReadyCallback) -- cgit