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.
This commit is contained in:
Christian Dywan 2009-04-04 13:32:09 +02:00
parent 4774d9c1fd
commit 8ab5f5673b

View File

@ -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__ */