aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/cal-config-caldav/e-caldav-chooser-dialog.c2
-rw-r--r--modules/cal-config-google/e-google-chooser-dialog.c2
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)