gtk/gtkgladecatalog.c: Fix Visual Studio Builds

The _GDK_EXTERN decoration needs to be with the function prototype, if one
exists, so move the _GDK_EXTERN decoration up.
This commit is contained in:
Chun-wei Fan 2014-09-15 12:26:32 +08:00
parent 779aa87ba5
commit 15a9f1bdf5

View File

@ -31,13 +31,14 @@
# include "gtkprinteroptionwidget.h" # include "gtkprinteroptionwidget.h"
#endif #endif
_GDK_EXTERN
void gtk_glade_catalog_init (const gchar *catalog_name); void gtk_glade_catalog_init (const gchar *catalog_name);
/* This function is referred to in gtk/glade/gtk-private-widgets.xml /* This function is referred to in gtk/glade/gtk-private-widgets.xml
* and is used to ensure the private types for use in Glade while * and is used to ensure the private types for use in Glade while
* editing UI files that define GTK+s various composite widget classes. * editing UI files that define GTK+s various composite widget classes.
*/ */
_GDK_EXTERN void void
gtk_glade_catalog_init (const gchar *catalog_name) gtk_glade_catalog_init (const gchar *catalog_name)
{ {
g_type_ensure (GTK_TYPE_PATH_BAR); g_type_ensure (GTK_TYPE_PATH_BAR);