[gtk+] Move G_END_DECLS before the #endif in gtkitemfactory.h
- From: Christian Dywan <cdywan src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+] Move G_END_DECLS before the #endif in gtkitemfactory.h
- Date: Sat, 4 Apr 2009 08:07:28 -0400 (EDT)
commit 8ab5f5673bfdb207f15c9477077c85ede8f73aae
Author: Christian Dywan <christian twotoasts de>
Date: Sat Apr 4 13:32:09 2009 +0200
Move G_END_DECLS before the #endif in gtkitemfactory.h
Bug 577650 â?? gtkitemfactory.h fails to compile
Place G_END_DECLS inside conditionals, otherwise C++ compilers
will see a closing curly bracket when including the file for
the second time.
---
gtk/gtkitemfactory.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/gtk/gtkitemfactory.h b/gtk/gtkitemfactory.h
index 0e71f48..5c57b80 100644
--- a/gtk/gtkitemfactory.h
+++ b/gtk/gtkitemfactory.h
@@ -228,10 +228,9 @@ void gtk_item_factory_create_menu_entries (guint n_entries,
void gtk_item_factories_path_delete (const gchar *ifactory_path,
const gchar *path);
-#endif /* !GTK_DISABLE_DEPRECATED */
-
-
G_END_DECLS
+#endif /* !GTK_DISABLE_DEPRECATED */
+
#endif /* __GTK_ITEM_FACTORY_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]