broadway: variable 'broadway_display' set but not used

This commit is contained in:
Benjamin Otte 2013-03-01 14:20:57 +01:00
parent dfb619eede
commit 9d55b3c6fd

View File

@ -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;