summaryrefslogtreecommitdiff
path: root/gdk/broadway
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2013-03-01 14:20:57 +0100
committerBenjamin Otte <otte@redhat.com>2013-03-01 16:25:14 +0100
commit9d55b3c6fd38a577dd6f7f0579149ebd0b8a3921 (patch)
tree20452af24784fe0dfb6bc37dae55ecf9aa1e8100 /gdk/broadway
parentdfb619eede5d242803ca923f61ada1d75944764f (diff)
downloadgtk+-9d55b3c6fd38a577dd6f7f0579149ebd0b8a3921.tar.gz
broadway: variable 'broadway_display' set but not used
Diffstat (limited to 'gdk/broadway')
-rw-r--r--gdk/broadway/gdkwindow-broadway.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdk/broadway/gdkwindow-broadway.c b/gdk/broadway/gdkwindow-broadway.c
index c4931976b8..5f7d2deb0f 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;