summaryrefslogtreecommitdiff
path: root/gtk/gtkbbox.c
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2001-10-27 00:41:12 +0000
committerHans Breuer <hans@src.gnome.org>2001-10-27 00:41:12 +0000
commite2e6940366d46bd3f860d13fd876408799c00237 (patch)
treee4f452af34969de0a76f6d079a374e60a98308cf /gtk/gtkbbox.c
parented96ad827ce4a72af19b1b91e67ebd4f4f8ace49 (diff)
downloadgtk+-e2e6940366d46bd3f860d13fd876408799c00237.tar.gz
to simplify parsing for exported functions: - made implementation
2001-10-27 Hans Breuer <hans@breuer.org> * gtk/gtkbbox.c gtk/gtkctree.c gtk/gtkhbbox.c gtk/gtkimmulticontext.c gtk/gtklabel.c gtk/gtkliststore.c gtk/gtkmenu.c gtk/gtkpaned.c gtk/gtkrc.c gtk/gtkscale.c gtk/gtkstyle.c gtk/gtktextbuffer.c gtk/gtktextlayout.c gtk/gtktexttag.c gtk/gtktexttagtable.c gtk/gtktextview.c gtk/gtktreestore.c gtk/gtkvbbox.c : to simplify parsing for exported functions: - made implementation signature static, when the local prototype already was - put the functions return value on it's own line - added as space between the function name and the opening bracket * gtk/gtk.def : added the remaining exported functions
Diffstat (limited to 'gtk/gtkbbox.c')
-rw-r--r--gtk/gtkbbox.c24
1 files changed, 15 insertions, 9 deletions
diff --git a/gtk/gtkbbox.c b/gtk/gtkbbox.c
index dc9679d7ca..a1d7ec493f 100644
--- a/gtk/gtkbbox.c
+++ b/gtk/gtkbbox.c
@@ -263,21 +263,25 @@ gtk_button_box_get_child_property (GtkContainer *container,
/* set per widget values for spacing, child size and child internal padding */
-void gtk_button_box_set_child_size (GtkButtonBox *widget, gint width, gint height)
+void
+gtk_button_box_set_child_size (GtkButtonBox *widget,
+ gint width, gint height)
{
widget->child_min_width = width;
widget->child_min_height = height;
}
-void gtk_button_box_set_child_ipadding (GtkButtonBox *widget,
- gint ipad_x, gint ipad_y)
+void
+gtk_button_box_set_child_ipadding (GtkButtonBox *widget,
+ gint ipad_x, gint ipad_y)
{
widget->child_ipad_x = ipad_x;
widget->child_ipad_y = ipad_y;
}
-void gtk_button_box_set_layout (GtkButtonBox *widget,
- GtkButtonBoxStyle layout_style)
+void
+gtk_button_box_set_layout (GtkButtonBox *widget,
+ GtkButtonBoxStyle layout_style)
{
g_return_if_fail (layout_style >= GTK_BUTTONBOX_DEFAULT_STYLE &&
layout_style <= GTK_BUTTONBOX_END);
@@ -293,15 +297,17 @@ void gtk_button_box_set_layout (GtkButtonBox *widget,
/* get per widget values for spacing, child size and child internal padding */
-void gtk_button_box_get_child_size (GtkButtonBox *widget,
- gint *width, gint *height)
+void
+gtk_button_box_get_child_size (GtkButtonBox *widget,
+ gint *width, gint *height)
{
*width = widget->child_min_width;
*height = widget->child_min_height;
}
-void gtk_button_box_get_child_ipadding (GtkButtonBox *widget,
- gint* ipad_x, gint *ipad_y)
+void
+gtk_button_box_get_child_ipadding (GtkButtonBox *widget,
+ gint* ipad_x, gint *ipad_y)
{
*ipad_x = widget->child_ipad_x;
*ipad_y = widget->child_ipad_y;