Commit 027bbe0f authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Include the update_counter check in the HAVE_XSYNC condition, since

Mon Jul 12 01:56:26 2004  Matthias Clasen  <maclas@gmx.de>

	* gdk/x11/gdkwindow-x11.c (gdk_toplevel_x11_free_contents):
	Include the update_counter check in the HAVE_XSYNC condition,
	since update_counter isn't present in the !HAVE_XSYNC case.
parent c276d35f
Mon Jul 12 01:56:26 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkwindow-x11.c (gdk_toplevel_x11_free_contents):
Include the update_counter check in the HAVE_XSYNC condition,
since update_counter isn't present in the !HAVE_XSYNC case.
Mon Jul 12 00:52:04 2004 Matthias Clasen <maclas@gmx.de>
* gtk/stock-icons/Makefile.am:
......
Mon Jul 12 01:56:26 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkwindow-x11.c (gdk_toplevel_x11_free_contents):
Include the update_counter check in the HAVE_XSYNC condition,
since update_counter isn't present in the !HAVE_XSYNC case.
Mon Jul 12 00:52:04 2004 Matthias Clasen <maclas@gmx.de>
* gtk/stock-icons/Makefile.am:
......
Mon Jul 12 01:56:26 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkwindow-x11.c (gdk_toplevel_x11_free_contents):
Include the update_counter check in the HAVE_XSYNC condition,
since update_counter isn't present in the !HAVE_XSYNC case.
Mon Jul 12 00:52:04 2004 Matthias Clasen <maclas@gmx.de>
* gtk/stock-icons/Makefile.am:
......
Mon Jul 12 01:56:26 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkwindow-x11.c (gdk_toplevel_x11_free_contents):
Include the update_counter check in the HAVE_XSYNC condition,
since update_counter isn't present in the !HAVE_XSYNC case.
Mon Jul 12 00:52:04 2004 Matthias Clasen <maclas@gmx.de>
* gtk/stock-icons/Makefile.am:
......
......@@ -1050,17 +1050,17 @@ gdk_toplevel_x11_free_contents (GdkDisplay *display,
g_object_unref (toplevel->group_leader);
toplevel->group_leader = NULL;
}
#ifdef HAVE_XSYNC
if (toplevel->update_counter != None)
{
#ifdef HAVE_XSYNC
XSyncDestroyCounter (GDK_DISPLAY_XDISPLAY (display),
toplevel->update_counter);
toplevel->update_counter = None;
XSyncIntToValue (&toplevel->current_counter_value, 0);
XSyncIntToValue (&toplevel->pending_counter_value, 0);
#endif
}
#endif
}
void
......
Markdown is supported
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