make legal C

2002-10-04  jacob berkman  <jacob@ximian.com>

	* gdk/x11/gdkscreen-x11.c (init_xinerama_support): make legal C
This commit is contained in:
jacob berkman 2002-10-04 17:07:04 +00:00 committed by Jacob Berkman
parent 73e0984242
commit a746c7c098
7 changed files with 28 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2002-10-04 jacob berkman <jacob@ximian.com>
* gdk/x11/gdkscreen-x11.c (init_xinerama_support): make legal C
Fri Oct 4 12:05:27 2002 Owen Taylor <otaylor@redhat.com>
* demos/Makefile.am (pixbuf_csource): Fix envars

View File

@ -1,3 +1,7 @@
2002-10-04 jacob berkman <jacob@ximian.com>
* gdk/x11/gdkscreen-x11.c (init_xinerama_support): make legal C
Fri Oct 4 12:05:27 2002 Owen Taylor <otaylor@redhat.com>
* demos/Makefile.am (pixbuf_csource): Fix envars

View File

@ -1,3 +1,7 @@
2002-10-04 jacob berkman <jacob@ximian.com>
* gdk/x11/gdkscreen-x11.c (init_xinerama_support): make legal C
Fri Oct 4 12:05:27 2002 Owen Taylor <otaylor@redhat.com>
* demos/Makefile.am (pixbuf_csource): Fix envars

View File

@ -1,3 +1,7 @@
2002-10-04 jacob berkman <jacob@ximian.com>
* gdk/x11/gdkscreen-x11.c (init_xinerama_support): make legal C
Fri Oct 4 12:05:27 2002 Owen Taylor <otaylor@redhat.com>
* demos/Makefile.am (pixbuf_csource): Fix envars

View File

@ -1,3 +1,7 @@
2002-10-04 jacob berkman <jacob@ximian.com>
* gdk/x11/gdkscreen-x11.c (init_xinerama_support): make legal C
Fri Oct 4 12:05:27 2002 Owen Taylor <otaylor@redhat.com>
* demos/Makefile.am (pixbuf_csource): Fix envars

View File

@ -1,3 +1,7 @@
2002-10-04 jacob berkman <jacob@ximian.com>
* gdk/x11/gdkscreen-x11.c (init_xinerama_support): make legal C
Fri Oct 4 12:05:27 2002 Owen Taylor <otaylor@redhat.com>
* demos/Makefile.am (pixbuf_csource): Fix envars

View File

@ -482,13 +482,14 @@ static void
init_xinerama_support (GdkScreen * screen)
{
GdkScreenX11 *screen_x11 = GDK_SCREEN_X11 (screen);
#ifdef HAVE_XINERAMA
int opcode, firstevent, firsterror;
#endif
if (screen_x11->monitors)
g_free (screen_x11->monitors);
#ifdef HAVE_XINERAMA
int opcode, firstevent, firsterror;
#ifdef HAVE_XINERAMA
if (XQueryExtension (GDK_SCREEN_XDISPLAY (screen), "XINERAMA",
&opcode, &firstevent, &firsterror))
{