[gtk+] Revert "gdk: Get rid of unused variables"



commit 5ccc570cca0d28d94b8890a4fb2516a7966e7453
Author: Olivier Fourdan <ofourdan redhat com>
Date:   Mon Nov 14 12:23:49 2016 +0100

    Revert "gdk: Get rid of unused variables"
    
    This reverts commit 7016409e9f7cfab6990823c14d2d0287d38284b1.

 gdk/gdkwindow.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index d64a85c..4b42230 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -5389,6 +5389,7 @@ gdk_window_move_resize_toplevel (GdkWindow *window,
 static void
 configure_native_child (GdkWindow *window)
 {
+  GdkDisplay *display;
   GdkEvent *event;
 
   event = gdk_event_new (GDK_CONFIGURE);
@@ -5441,6 +5442,7 @@ gdk_window_move_resize_internal (GdkWindow *window,
   cairo_region_t *old_region, *new_region;
   GdkWindowImplClass *impl_class;
   gboolean expose;
+  int old_abs_x, old_abs_y;
 
   g_return_if_fail (GDK_IS_WINDOW (window));
 
@@ -5498,6 +5500,9 @@ gdk_window_move_resize_internal (GdkWindow *window,
       window->height = height;
     }
 
+  old_abs_x = window->abs_x;
+  old_abs_y = window->abs_y;
+
   recompute_visible_regions (window, FALSE);
 
   if (gdk_window_has_impl (window))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]