summaryrefslogtreecommitdiff
path: root/gtk/gtkbbox.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-07-12 21:46:32 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-07-12 21:46:32 +0000
commitaefa836108a38841d424ff0d88bab927ceaa5202 (patch)
treed739912a5db6a1fa83aaac8258caaf17248d41f2 /gtk/gtkbbox.h
parenta70fca529beca4724d235653399cee611db8e870 (diff)
downloadgtk+-aefa836108a38841d424ff0d88bab927ceaa5202.tar.gz
Patch from Mathias Hasselmann to fix warnings in compat macros. (#56773)
Thu Jul 12 17:33:00 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkbbox.h gtk/gtkcompat.h: Patch from Mathias Hasselmann to fix warnings in compat macros. (#56773) * gtk/gtkmenubar.c (gtk_menu_bar_hierarchy_changed): Fix stupid wrong cast added in last patch.
Diffstat (limited to 'gtk/gtkbbox.h')
-rw-r--r--gtk/gtkbbox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkbbox.h b/gtk/gtkbbox.h
index 8a7853f783..0b6d11f9d5 100644
--- a/gtk/gtkbbox.h
+++ b/gtk/gtkbbox.h
@@ -74,8 +74,8 @@ void gtk_button_box_set_child_secondary (GtkButtonBox *widget,
gboolean is_secondary);
#ifndef GTK_DISABLE_DEPRECATED
-#define gtk_button_box_set_spacing gtk_box_set_spacing
-#define gtk_button_box_get_spacing gtk_box_get_spacing
+#define gtk_button_box_set_spacing(b,s) gtk_box_set_spacing (GTK_BOX (b), s)
+#define gtk_button_box_get_spacing(b) gtk_box_get_spacing (GTK_BOX (b))
void gtk_button_box_set_child_size (GtkButtonBox *widget,
gint min_width,