diff options
author | Christian Dywan <christian@twotoasts.de> | 2009-04-04 13:32:09 +0200 |
---|---|---|
committer | Christian Dywan <christian@twotoasts.de> | 2009-04-04 13:40:12 +0200 |
commit | 8ab5f5673bfdb207f15c9477077c85ede8f73aae (patch) | |
tree | 637d02ec3e173250976b43398d85536bfb202616 /gtk/gtkitemfactory.h | |
parent | 4774d9c1fd46aca800add140c30ece5bf7a12d3a (diff) | |
download | gtk+-8ab5f5673bfdb207f15c9477077c85ede8f73aae.tar.gz |
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.
Diffstat (limited to 'gtk/gtkitemfactory.h')
-rw-r--r-- | gtk/gtkitemfactory.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtkitemfactory.h b/gtk/gtkitemfactory.h index 0e71f4886a..5c57b8032e 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__ */ |