Commit 014acf75 authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer
Browse files

remove unused variable and fix indentation.

2008-09-23  Michael Natterer  <mitch@imendio.com>

	* gdk/x11/gdkevents-x11.c (gdk_event_translate): remove unused
	variable and fix indentation.


svn path=/trunk/; revision=21496
parent 4cdb9777
2008-09-23 Michael Natterer <mitch@imendio.com>
* gdk/x11/gdkevents-x11.c (gdk_event_translate): remove unused
variable and fix indentation.
2008-09-23 Michael Natterer <mitch@imendio.com> 2008-09-23 Michael Natterer <mitch@imendio.com>
* gtk/gtkclist.h * gtk/gtkclist.h
......
...@@ -2109,12 +2109,10 @@ gdk_event_translate (GdkDisplay *display, ...@@ -2109,12 +2109,10 @@ gdk_event_translate (GdkDisplay *display,
#ifdef HAVE_RANDR #ifdef HAVE_RANDR
if (xevent->type - display_x11->xrandr_event_base == RRNotify) if (xevent->type - display_x11->xrandr_event_base == RRNotify)
{ {
XRRNotifyEvent *notify = (XRRNotifyEvent *)xevent; if (screen)
_gdk_x11_screen_process_monitors_change (screen);
if (screen)
_gdk_x11_screen_process_monitors_change (screen);
} }
else else
#endif #endif
#if defined(HAVE_XCOMPOSITE) && defined (HAVE_XDAMAGE) && defined (HAVE_XFIXES) #if defined(HAVE_XCOMPOSITE) && defined (HAVE_XDAMAGE) && defined (HAVE_XFIXES)
if (display_x11->have_xdamage && window_private && window_private->composited && if (display_x11->have_xdamage && window_private && window_private->composited &&
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment