summaryrefslogtreecommitdiff
path: root/gtk/gtkaction.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/gtkaction.h
parent407e957c04fa76e1ce195bb5f6392e49a3b013ed (diff)
downloadgdk-pixbuf-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/gtkaction.h')
-rw-r--r--gtk/gtkaction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkaction.h b/gtk/gtkaction.h
index 883229836..df0464e27 100644
--- a/gtk/gtkaction.h
+++ b/gtk/gtkaction.h
@@ -33,6 +33,8 @@
#include <gtk/gtkwidget.h>
#include <glib-object.h>
+G_BEGIN_DECLS
+
#define GTK_TYPE_ACTION (gtk_action_get_type ())
#define GTK_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ACTION, GtkAction))
#define GTK_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACTION, GtkActionClass))
@@ -105,5 +107,6 @@ void gtk_action_set_accel_path (GtkAction *action,
void gtk_action_set_accel_group (GtkAction *action,
GtkAccelGroup *accel_group);
+G_END_DECLS
#endif /* __GTK_ACTION_H__ */