[Xfce4-commits] [apps/xfce4-screenshooter] 25/38: Fix compile warning

noreply at xfce.org noreply at xfce.org
Fri Apr 28 03:07:21 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 ce5d5c1451e3d6a59e7e37e35b2b6e6418568cf4
Author: Andre Miranda <andre42m at gmail.com>
Date:   Tue Apr 4 21:49:05 2017 -0300

    Fix compile warning
---
 lib/screenshooter-capture.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/screenshooter-capture.c b/lib/screenshooter-capture.c
index 5d396a4..a11b75c 100644
--- a/lib/screenshooter-capture.c
+++ b/lib/screenshooter-capture.c
@@ -510,11 +510,12 @@ static gboolean cb_draw (GtkWidget *widget,
                          RubberBandData *rbdata)
 {
   cairo_rectangle_t *rects = NULL;
+  cairo_rectangle_list_t *list = NULL;
   gint n_rects = 0, i;
 
   TRACE ("Draw event received.");
 
-  cairo_rectangle_list_t *list = cairo_copy_clip_rectangle_list (cr);
+  list = cairo_copy_clip_rectangle_list (cr);
   n_rects = list->num_rectangles;
   rects = list->rectangles;
 

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


More information about the Xfce4-commits mailing list