summaryrefslogtreecommitdiff
path: root/gtk/gtktoolitem.h
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-10-11 21:24:10 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-10-11 21:24:10 +0000
commitc44e5b00e0cc038b6b9a594ee6c9c9c816c69f0c (patch)
treef0e16b60a77a5a9ab83dafbc3d02d81f433bed46 /gtk/gtktoolitem.h
parent407e957c04fa76e1ce195bb5f6392e49a3b013ed (diff)
downloadgtk+-c44e5b00e0cc038b6b9a594ee6c9c9c816c69f0c.tar.gz
Add G_BEGIN_DECLS/G_END_DECLS to make these usable in C++. (#124351,
Sat Oct 11 23:14:36 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtkactiongroup.h: * gtk/gtkaction.h: * gtk/gtkradioaction.h: * gtk/gtkradiotoolbutton.h: * gtk/gtkseparatortoolitem.h: * gtk/gtktoggleaction.h: * gtk/gtktoolitem.h: * gtk/gtkuimanager.h: Add G_BEGIN_DECLS/G_END_DECLS to make these usable in C++. (#124351, Murray Cumming)
Diffstat (limited to 'gtk/gtktoolitem.h')
-rw-r--r--gtk/gtktoolitem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtktoolitem.h b/gtk/gtktoolitem.h
index 9d9b34ecc2..d5a6f8c225 100644
--- a/gtk/gtktoolitem.h
+++ b/gtk/gtktoolitem.h
@@ -27,6 +27,8 @@
#include <gtk/gtktooltips.h>
#include <gtk/gtkmenuitem.h>
+G_BEGIN_DECLS
+
#define GTK_TYPE_TOOL_ITEM (gtk_tool_item_get_type ())
#define GTK_TOOL_ITEM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_TOOL_ITEM, GtkToolItem))
#define GTK_TOOL_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TOOL_ITEM, GtkToolItemClass))
@@ -116,5 +118,6 @@ void gtk_tool_item_set_proxy_menu_item (GtkToolItem *tool_item,
/* internal function */
void _gtk_tool_item_toolbar_reconfigured (GtkToolItem *tool_item);
+G_END_DECLS
#endif /* __GTK_TOOL_ITEM_H__ */