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:

committed by
Jacob Berkman

parent
73e0984242
commit
a746c7c098
@ -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>
|
Fri Oct 4 12:05:27 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* demos/Makefile.am (pixbuf_csource): Fix envars
|
* demos/Makefile.am (pixbuf_csource): Fix envars
|
||||||
|
@ -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>
|
Fri Oct 4 12:05:27 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* demos/Makefile.am (pixbuf_csource): Fix envars
|
* demos/Makefile.am (pixbuf_csource): Fix envars
|
||||||
|
@ -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>
|
Fri Oct 4 12:05:27 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* demos/Makefile.am (pixbuf_csource): Fix envars
|
* demos/Makefile.am (pixbuf_csource): Fix envars
|
||||||
|
@ -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>
|
Fri Oct 4 12:05:27 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* demos/Makefile.am (pixbuf_csource): Fix envars
|
* demos/Makefile.am (pixbuf_csource): Fix envars
|
||||||
|
@ -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>
|
Fri Oct 4 12:05:27 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* demos/Makefile.am (pixbuf_csource): Fix envars
|
* demos/Makefile.am (pixbuf_csource): Fix envars
|
||||||
|
@ -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>
|
Fri Oct 4 12:05:27 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* demos/Makefile.am (pixbuf_csource): Fix envars
|
* demos/Makefile.am (pixbuf_csource): Fix envars
|
||||||
|
@ -482,13 +482,14 @@ static void
|
|||||||
init_xinerama_support (GdkScreen * screen)
|
init_xinerama_support (GdkScreen * screen)
|
||||||
{
|
{
|
||||||
GdkScreenX11 *screen_x11 = GDK_SCREEN_X11 (screen);
|
GdkScreenX11 *screen_x11 = GDK_SCREEN_X11 (screen);
|
||||||
|
#ifdef HAVE_XINERAMA
|
||||||
|
int opcode, firstevent, firsterror;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (screen_x11->monitors)
|
if (screen_x11->monitors)
|
||||||
g_free (screen_x11->monitors);
|
g_free (screen_x11->monitors);
|
||||||
|
|
||||||
#ifdef HAVE_XINERAMA
|
#ifdef HAVE_XINERAMA
|
||||||
int opcode, firstevent, firsterror;
|
|
||||||
|
|
||||||
if (XQueryExtension (GDK_SCREEN_XDISPLAY (screen), "XINERAMA",
|
if (XQueryExtension (GDK_SCREEN_XDISPLAY (screen), "XINERAMA",
|
||||||
&opcode, &firstevent, &firsterror))
|
&opcode, &firstevent, &firsterror))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user