[eog] Don't use deprecated gdk_cursor_unref() anymore
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] Don't use deprecated gdk_cursor_unref() anymore
- Date: Wed, 30 Nov 2011 13:38:45 +0000 (UTC)
commit c02ff5d5ebe9f86855c3e5d8827fae4d2846721b
Author: Felix Riemann <friemann gnome org>
Date: Wed Nov 30 12:30:00 2011 +0100
Don't use deprecated gdk_cursor_unref() anymore
src/eog-print-preview.c | 2 +-
src/eog-scroll-view.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/eog-print-preview.c b/src/eog-print-preview.c
index 0c6d60f..2265b5d 100644
--- a/src/eog-print-preview.c
+++ b/src/eog-print-preview.c
@@ -948,7 +948,7 @@ motion_notify_event_cb (GtkWidget *widget,
GDK_FLEUR);
gdk_window_set_cursor (gtk_widget_get_window (widget),
cursor);
- gdk_cursor_unref (cursor);
+ g_object_unref (cursor);
} else {
gdk_window_set_cursor (gtk_widget_get_window (widget),
NULL);
diff --git a/src/eog-scroll-view.c b/src/eog-scroll-view.c
index f7542a5..7b707e4 100644
--- a/src/eog-scroll-view.c
+++ b/src/eog-scroll-view.c
@@ -399,7 +399,7 @@ eog_scroll_view_set_cursor (EogScrollView *view, EogScrollViewCursor new_cursor)
if (cursor) {
gdk_window_set_cursor (gtk_widget_get_window (widget), cursor);
- gdk_cursor_unref (cursor);
+ g_object_unref (cursor);
gdk_flush();
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]