[evolution] Avoid gdk_cursor_unref().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Avoid gdk_cursor_unref().
- Date: Thu, 29 Nov 2012 14:12:44 +0000 (UTC)
commit 0b9efdacc1ff9bdc53e6cb6deb107597a9858c1e
Author: Matthew Barnes <mbarnes redhat com>
Date: Wed Nov 28 20:23:25 2012 -0500
Avoid gdk_cursor_unref().
Use g_object_unref() instead.
.../cal-config-caldav/e-caldav-chooser-dialog.c | 2 +-
.../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 29848a0..7cdfe0a 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 acf11f2..f337187 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]