[gtk+/gtk-3-22] gdk: Get rid of unused variables



commit 6f7a6f769f1a8a7aa0214acc3d063940a33779c5
Author: Benjamin Otte <otte redhat com>
Date:   Sun Oct 16 18:07:39 2016 +0200

    gdk: Get rid of unused variables

 gdk/gdkwindow.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index bc156dd..0c818af 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -5975,7 +5975,6 @@ gdk_window_move_resize_toplevel (GdkWindow *window,
 static void
 configure_native_child (GdkWindow *window)
 {
-  GdkDisplay *display;
   GdkEvent *event;
 
   event = gdk_event_new (GDK_CONFIGURE);
@@ -6028,7 +6027,6 @@ 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));
 
@@ -6086,9 +6084,6 @@ 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]