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.
This commit is contained in:
Matthias Clasen 2004-07-12 05:57:41 +00:00 committed by Matthias Clasen
parent c276d35fda
commit 027bbe0fd9
5 changed files with 26 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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:

View File

@ -1,3 +1,9 @@
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:

View File

@ -1,3 +1,9 @@
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:

View File

@ -1,3 +1,9 @@
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:

View File

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