diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-11-29 09:23:25 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-11-29 22:12:30 +0800 |
commit | 0b9efdacc1ff9bdc53e6cb6deb107597a9858c1e (patch) | |
tree | 6a3d00ba18378b1973c827c02d36acfffd916284 | |
parent | 953c9d8adff83f0fe6e605c4ce54b306572be046 (diff) | |
download | gsoc2013-evolution-0b9efdacc1ff9bdc53e6cb6deb107597a9858c1e.tar gsoc2013-evolution-0b9efdacc1ff9bdc53e6cb6deb107597a9858c1e.tar.gz gsoc2013-evolution-0b9efdacc1ff9bdc53e6cb6deb107597a9858c1e.tar.bz2 gsoc2013-evolution-0b9efdacc1ff9bdc53e6cb6deb107597a9858c1e.tar.lz gsoc2013-evolution-0b9efdacc1ff9bdc53e6cb6deb107597a9858c1e.tar.xz gsoc2013-evolution-0b9efdacc1ff9bdc53e6cb6deb107597a9858c1e.tar.zst gsoc2013-evolution-0b9efdacc1ff9bdc53e6cb6deb107597a9858c1e.zip |
Avoid gdk_cursor_unref().
Use g_object_unref() instead.
-rw-r--r-- | modules/cal-config-caldav/e-caldav-chooser-dialog.c | 2 | ||||
-rw-r--r-- | 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) |