Make code compile with unknown value of GDK_WINDOWING

1999-03-30  Pavel Machek  <pavel@artax.karlin.mff.cuni.cz>

	* gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
	compile with unknown value of GDK_WINDOWING
This commit is contained in:
Pavel Machek 1999-03-30 12:06:00 +00:00 committed by Pavel Machek
parent 0dfcb2d2be
commit 57afb2b588
8 changed files with 38 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1999-03-30 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
* gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
compile with unknown value of GDK_WINDOWING
1999-03-28 Raja R Harinath <harinath@cs.umn.edu>
* gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists

View File

@ -1,3 +1,8 @@
1999-03-30 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
* gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
compile with unknown value of GDK_WINDOWING
1999-03-28 Raja R Harinath <harinath@cs.umn.edu>
* gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists

View File

@ -1,3 +1,8 @@
1999-03-30 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
* gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
compile with unknown value of GDK_WINDOWING
1999-03-28 Raja R Harinath <harinath@cs.umn.edu>
* gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists

View File

@ -1,3 +1,8 @@
1999-03-30 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
* gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
compile with unknown value of GDK_WINDOWING
1999-03-28 Raja R Harinath <harinath@cs.umn.edu>
* gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists

View File

@ -1,3 +1,8 @@
1999-03-30 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
* gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
compile with unknown value of GDK_WINDOWING
1999-03-28 Raja R Harinath <harinath@cs.umn.edu>
* gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists

View File

@ -1,3 +1,8 @@
1999-03-30 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
* gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
compile with unknown value of GDK_WINDOWING
1999-03-28 Raja R Harinath <harinath@cs.umn.edu>
* gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists

View File

@ -1,3 +1,8 @@
1999-03-30 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
* gtk/gtkfontsel.c (gtk_font_selection_get_fonts): Make code
compile with unknown value of GDK_WINDOWING
1999-03-28 Raja R Harinath <harinath@cs.umn.edu>
* gdk/Makefile.am (gdkconfig.h): Make sure `gdkconfig.h' exists

View File

@ -2832,6 +2832,9 @@ gtk_font_selection_get_fonts (void)
gint num_fonts;
#elif GDK_WINDOWING == GDK_WINDOWING_WIN32
LOGFONT logfont;
#else
gint num_fonts = 0;
gchar **xfontnames = NULL;
#endif
GSList **fontnames;
gchar *fontname;