diff options
author | Soeren Sandmann <sandmann@daimi.au.dk> | 2003-07-08 20:28:24 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2003-07-08 20:28:24 +0000 |
commit | d523e1a2b16b17fd424de81fae03d961b9667762 (patch) | |
tree | 27e3db9b96ccd35e7573f49fe9104e595a80e0c8 /gtk/gtktoolbutton.h | |
parent | 81785924f9cc9e9edf817a85fd62aff1e44f3117 (diff) | |
download | gtk+-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/gtktoolbutton.h')
-rw-r--r-- | gtk/gtktoolbutton.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktoolbutton.h b/gtk/gtktoolbutton.h index e002e14a52..88e2ec5ef0 100644 --- a/gtk/gtktoolbutton.h +++ b/gtk/gtktoolbutton.h @@ -33,7 +33,7 @@ G_BEGIN_DECLS #define GTK_IS_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOOL_BUTTON)) #define GTK_IS_TOOL_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), GTK_TYPE_TOOL_BUTTON)) #define GTK_TOOL_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_TOOL_BUTTON, GtkToolButtonClass)) -#define GTK_TOOL_ITEM_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_TOOL_BUTTON, GtkToolButtonPrivate)) +#define GTK_TOOL_BUTTON_GET_PRIVATE(obj)(G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_TOOL_BUTTON, GtkToolButtonPrivate)) typedef struct _GtkToolButton GtkToolButton; typedef struct _GtkToolButtonClass GtkToolButtonClass; |