[gtk+] gtk/gtkgladecatalog.c: Fix Visual Studio Builds
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk/gtkgladecatalog.c: Fix Visual Studio Builds
- Date: Mon, 15 Sep 2014 04:26:41 +0000 (UTC)
commit 15a9f1bdf5799d7c47df5cee86b95931578401e7
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Sep 15 12:26:32 2014 +0800
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.
gtk/gtkgladecatalog.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkgladecatalog.c b/gtk/gtkgladecatalog.c
index 44f91e0..e4e3dd0 100644
--- a/gtk/gtkgladecatalog.c
+++ b/gtk/gtkgladecatalog.c
@@ -31,13 +31,14 @@
# include "gtkprinteroptionwidget.h"
#endif
+_GDK_EXTERN
void gtk_glade_catalog_init (const gchar *catalog_name);
/* 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
* editing UI files that define GTK+’s various composite widget classes.
*/
-_GDK_EXTERN void
+void
gtk_glade_catalog_init (const gchar *catalog_name)
{
g_type_ensure (GTK_TYPE_PATH_BAR);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]