[gtk+] broadway: variable 'broadway_display' set but not used



commit 9d55b3c6fd38a577dd6f7f0579149ebd0b8a3921
Author: Benjamin Otte <otte redhat com>
Date:   Fri Mar 1 14:20:57 2013 +0100

    broadway: variable 'broadway_display' set but not used

 gdk/broadway/gdkwindow-broadway.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gdk/broadway/gdkwindow-broadway.c b/gdk/broadway/gdkwindow-broadway.c
index c493197..5f7d2de 100644
--- a/gdk/broadway/gdkwindow-broadway.c
+++ b/gdk/broadway/gdkwindow-broadway.c
@@ -1252,16 +1252,12 @@ gdk_broadway_window_begin_resize_drag (GdkWindow     *window,
                                       gint           root_y,
                                       guint32        timestamp)
 {
-  GdkBroadwayDisplay *broadway_display;
   MoveResizeData *mv_resize;
 
   if (GDK_WINDOW_DESTROYED (window) ||
       !WINDOW_IS_TOPLEVEL_OR_FOREIGN (window))
     return;
 
-  /* We need a connection to be able to get mouse events, if not, punt */
-  broadway_display = GDK_BROADWAY_DISPLAY (gdk_window_get_display (window));
-
   mv_resize = get_move_resize_data (GDK_WINDOW_DISPLAY (window), TRUE);
 
   mv_resize->is_resize = TRUE;


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