summaryrefslogtreecommitdiff
path: root/gtk/gtktoggletoolbutton.h
diff options
context:
space:
mode:
authorSoeren Sandmann <sandmann@daimi.au.dk>2003-07-08 20:28:24 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2003-07-08 20:28:24 +0000
commitd523e1a2b16b17fd424de81fae03d961b9667762 (patch)
tree27e3db9b96ccd35e7573f49fe9104e595a80e0c8 /gtk/gtktoggletoolbutton.h
parent81785924f9cc9e9edf817a85fd62aff1e44f3117 (diff)
downloadgtk+-d523e1a2b16b17fd424de81fae03d961b9667762.tar.gz
remove strange #define fix cut'n'paste error use instance private data use
Tue Jul 8 21:35:22 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoggletoolbutton.h: remove strange #define * gtk/gtktoolbutton.h: fix cut'n'paste error * gtk/gtktoolbutton.c (gtk_tool_button_init): use instance private data * gtk/gtktoolitem.c (gtk_tool_item_class_init): use instance private data instead of g_new0() * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_init): use instance private data
Diffstat (limited to 'gtk/gtktoggletoolbutton.h')
-rw-r--r--gtk/gtktoggletoolbutton.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtktoggletoolbutton.h b/gtk/gtktoggletoolbutton.h
index fa76661953..225b833bc9 100644
--- a/gtk/gtktoggletoolbutton.h
+++ b/gtk/gtktoggletoolbutton.h
@@ -33,8 +33,7 @@ G_BEGIN_DECLS
#define GTK_IS_TOGGLE_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOGGLE_TOOL_BUTTON))
#define GTK_IS_TOGGLE_TOOL_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), GTK_TYPE_TOGGLE_TOOL_BUTTON))
#define GTK_TOGGLE_TOOL_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_TOGGLE_TOOL_BUTTON, GtkToggleToolButtonClass))
-#define GTK_TOGGLE_TOOL_BUTTON_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_TOOL_BUTTON, GtkToggleToolButtonPrivate))
-#define GTK_TOGGLE_TOOL_BUTTON_GET_PRIVATE(obj) (
+#define GTK_TOGGLE_TOOL_BUTTON_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_TOGGLE_TOOL_BUTTON, GtkToggleToolButtonPrivate))
typedef struct _GtkToggleToolButton GtkToggleToolButton;
typedef struct _GtkToggleToolButtonClass GtkToggleToolButtonClass;