summaryrefslogtreecommitdiff
path: root/gtk/gtkalignment.c
diff options
context:
space:
mode:
authorSoeren Sandmann <sandmann@daimi.au.dk>2004-08-22 14:58:15 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2004-08-22 14:58:15 +0000
commitc49739a0b4d438881dd69dc6cad8c53cfddef176 (patch)
tree8e3d8663523e7af877dabbc3cdfe0a61a356febd /gtk/gtkalignment.c
parent34110c427b89df62a336ddbae40215ec14a7447b (diff)
downloadgtk+-c49739a0b4d438881dd69dc6cad8c53cfddef176.tar.gz
gtk/gtkexpander.c
Sun Aug 22 16:55:15 2004 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkexpander.c * gtk/gtkalignment.c: * gtk/gtktexttag.c Make enums match property names. Found by a script by Tommi Komulainen. * gtk/gtkpaned.c (gtk_paned_class_init): fix min/max mixup. Sun Aug 22 16:09:49 2004 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkliststore.h (struct _GtkListStore): * gtk/gtkliststore.c (gtk_list_store_init): * gtk/gtkliststore.c (gtk_list_store_insert): * gtk/gtkliststore.c (gtk_list_store_remove): Restore length field; PyGTK and maybe others use it directly.
Diffstat (limited to 'gtk/gtkalignment.c')
-rw-r--r--gtk/gtkalignment.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/gtk/gtkalignment.c b/gtk/gtkalignment.c
index af00335e0e..c79cba6722 100644
--- a/gtk/gtkalignment.c
+++ b/gtk/gtkalignment.c
@@ -37,10 +37,10 @@ enum {
PROP_XSCALE,
PROP_YSCALE,
- PROP_PADDING_TOP,
- PROP_PADDING_BOTTOM,
- PROP_PADDING_LEFT,
- PROP_PADDING_RIGHT,
+ PROP_TOP_PADDING,
+ PROP_BOTTOM_PADDING,
+ PROP_LEFT_PADDING,
+ PROP_RIGHT_PADDING,
PROP_LAST
};
@@ -159,7 +159,7 @@ gtk_alignment_class_init (GtkAlignmentClass *class)
* Since: 2.4
*/
g_object_class_install_property (gobject_class,
- PROP_PADDING_TOP,
+ PROP_TOP_PADDING,
g_param_spec_uint("top_padding",
P_("Top Padding"),
P_("The padding to insert at the top of the widget."),
@@ -176,7 +176,7 @@ gtk_alignment_class_init (GtkAlignmentClass *class)
* Since: 2.4
*/
g_object_class_install_property (gobject_class,
- PROP_PADDING_BOTTOM,
+ PROP_BOTTOM_PADDING,
g_param_spec_uint("bottom_padding",
P_("Bottom Padding"),
P_("The padding to insert at the bottom of the widget."),
@@ -193,7 +193,7 @@ gtk_alignment_class_init (GtkAlignmentClass *class)
* Since: 2.4
*/
g_object_class_install_property (gobject_class,
- PROP_PADDING_LEFT,
+ PROP_LEFT_PADDING,
g_param_spec_uint("left_padding",
P_("Left Padding"),
P_("The padding to insert at the left of the widget."),
@@ -210,7 +210,7 @@ gtk_alignment_class_init (GtkAlignmentClass *class)
* Since: 2.4
*/
g_object_class_install_property (gobject_class,
- PROP_PADDING_RIGHT,
+ PROP_RIGHT_PADDING,
g_param_spec_uint("right_padding",
P_("Right Padding"),
P_("The padding to insert at the right of the widget."),
@@ -305,28 +305,28 @@ gtk_alignment_set_property (GObject *object,
break;
/* Padding: */
- case PROP_PADDING_TOP:
+ case PROP_TOP_PADDING:
gtk_alignment_set_padding (alignment,
g_value_get_uint (value),
priv->padding_bottom,
priv->padding_left,
priv->padding_right);
break;
- case PROP_PADDING_BOTTOM:
+ case PROP_BOTTOM_PADDING:
gtk_alignment_set_padding (alignment,
priv->padding_top,
g_value_get_uint (value),
priv->padding_left,
priv->padding_right);
break;
- case PROP_PADDING_LEFT:
+ case PROP_LEFT_PADDING:
gtk_alignment_set_padding (alignment,
priv->padding_top,
priv->padding_bottom,
g_value_get_uint (value),
priv->padding_right);
break;
- case PROP_PADDING_RIGHT:
+ case PROP_RIGHT_PADDING:
gtk_alignment_set_padding (alignment,
priv->padding_top,
priv->padding_bottom,
@@ -368,16 +368,16 @@ gtk_alignment_get_property (GObject *object,
break;
/* Padding: */
- case PROP_PADDING_TOP:
+ case PROP_TOP_PADDING:
g_value_set_uint (value, priv->padding_top);
break;
- case PROP_PADDING_BOTTOM:
+ case PROP_BOTTOM_PADDING:
g_value_set_uint (value, priv->padding_bottom);
break;
- case PROP_PADDING_LEFT:
+ case PROP_LEFT_PADDING:
g_value_set_uint (value, priv->padding_left);
break;
- case PROP_PADDING_RIGHT:
+ case PROP_RIGHT_PADDING:
g_value_set_uint (value, priv->padding_right);
break;