[Xfce4-commits] [apps/xfce4-screenshooter] 26/38: Replace gdk_cursor_unref

noreply at xfce.org noreply at xfce.org
Fri Apr 28 03:07:22 CEST 2017


This is an automated email from the git hooks/post-receive script.

andre pushed a commit to branch master
in repository apps/xfce4-screenshooter.

commit 6c5c580681c051d73e52c3753d451225441ec4e0
Author: Andre Miranda <andre42m at gmail.com>
Date:   Tue Apr 4 21:49:19 2017 -0300

    Replace gdk_cursor_unref
---
 lib/screenshooter-capture.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/screenshooter-capture.c b/lib/screenshooter-capture.c
index a11b75c..caaf3d6 100644
--- a/lib/screenshooter-capture.c
+++ b/lib/screenshooter-capture.c
@@ -266,7 +266,7 @@ fallback:
   sscanf (gdk_pixbuf_get_option (cursor_pixbuf, "x_hot"), "%d", xhot);
   sscanf (gdk_pixbuf_get_option (cursor_pixbuf, "y_hot"), "%d", yhot);
 
-  gdk_cursor_unref (cursor);
+  g_object_unref (cursor);
 
   return cursor_pixbuf;
 }
@@ -764,7 +764,7 @@ static GdkPixbuf
 
   gtk_dialog_run (GTK_DIALOG (window));
   gtk_widget_destroy (window);
-  gdk_cursor_unref (xhair_cursor);
+  g_object_unref (xhair_cursor);
   gdk_flush();
 
   if (cancelled)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list