diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-08-26 19:15:37 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-08-27 04:48:23 +0200 |
commit | 1e5d7c022596b7146638ef8bd74f544725f9bf2b (patch) | |
tree | 61505bd6664441c672463e0d3c085aa199a8dbd8 /gtk/gtksizegroup.c | |
parent | c6a44d849424ac77c478d56ff727ebc742d054b0 (diff) | |
download | gtk+-1e5d7c022596b7146638ef8bd74f544725f9bf2b.tar.gz |
Use GtkFooPrivate instead GtkFooPriv
Diffstat (limited to 'gtk/gtksizegroup.c')
-rw-r--r-- | gtk/gtksizegroup.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/gtk/gtksizegroup.c b/gtk/gtksizegroup.c index f0496e5cb1..87f5c48584 100644 --- a/gtk/gtksizegroup.c +++ b/gtk/gtksizegroup.c @@ -29,7 +29,7 @@ -struct _GtkSizeGroupPriv +struct _GtkSizeGroupPrivate { GtkRequisition requisition; @@ -138,7 +138,7 @@ add_group_to_closure (GtkSizeGroup *group, GSList **groups, GSList **widgets) { - GtkSizeGroupPriv *priv = group->priv; + GtkSizeGroupPrivate *priv = group->priv; GSList *tmp_widgets; *groups = g_slist_prepend (*groups, group); @@ -171,7 +171,7 @@ add_widget_to_closure (GtkWidget *widget, while (tmp_groups) { GtkSizeGroup *tmp_group = tmp_groups->data; - GtkSizeGroupPriv *tmp_priv = tmp_group->priv; + GtkSizeGroupPrivate *tmp_priv = tmp_group->priv; if ((tmp_priv->mode == GTK_SIZE_GROUP_BOTH || tmp_priv->mode == mode) && !is_visited (tmp_group)) @@ -205,7 +205,7 @@ reset_group_sizes (GSList *groups) while (tmp_list) { GtkSizeGroup *tmp_group = tmp_list->data; - GtkSizeGroupPriv *tmp_priv = tmp_group->priv; + GtkSizeGroupPrivate *tmp_priv = tmp_group->priv; tmp_priv->have_width = FALSE; tmp_priv->have_height = FALSE; @@ -311,7 +311,7 @@ queue_resize_on_widget (GtkWidget *widget, static void queue_resize_on_group (GtkSizeGroup *size_group) { - GtkSizeGroupPriv *priv = size_group->priv; + GtkSizeGroupPrivate *priv = size_group->priv; if (priv->widgets) queue_resize_on_widget (priv->widgets->data, TRUE); @@ -362,7 +362,7 @@ gtk_size_group_class_init (GtkSizeGroupClass *klass) FALSE, GTK_PARAM_READWRITE)); - g_type_class_add_private (klass, sizeof (GtkSizeGroupPriv)); + g_type_class_add_private (klass, sizeof (GtkSizeGroupPrivate)); initialize_size_group_quarks (); } @@ -370,11 +370,11 @@ gtk_size_group_class_init (GtkSizeGroupClass *klass) static void gtk_size_group_init (GtkSizeGroup *size_group) { - GtkSizeGroupPriv *priv; + GtkSizeGroupPrivate *priv; size_group->priv = G_TYPE_INSTANCE_GET_PRIVATE (size_group, GTK_TYPE_SIZE_GROUP, - GtkSizeGroupPriv); + GtkSizeGroupPrivate); priv = size_group->priv; priv->widgets = NULL; @@ -424,7 +424,7 @@ gtk_size_group_get_property (GObject *object, GParamSpec *pspec) { GtkSizeGroup *size_group = GTK_SIZE_GROUP (object); - GtkSizeGroupPriv *priv = size_group->priv; + GtkSizeGroupPrivate *priv = size_group->priv; switch (prop_id) { @@ -452,7 +452,7 @@ GtkSizeGroup * gtk_size_group_new (GtkSizeGroupMode mode) { GtkSizeGroup *size_group = g_object_new (GTK_TYPE_SIZE_GROUP, NULL); - GtkSizeGroupPriv *priv = size_group->priv; + GtkSizeGroupPrivate *priv = size_group->priv; priv->mode = mode; @@ -475,7 +475,7 @@ void gtk_size_group_set_mode (GtkSizeGroup *size_group, GtkSizeGroupMode mode) { - GtkSizeGroupPriv *priv; + GtkSizeGroupPrivate *priv; g_return_if_fail (GTK_IS_SIZE_GROUP (size_group)); @@ -524,7 +524,7 @@ void gtk_size_group_set_ignore_hidden (GtkSizeGroup *size_group, gboolean ignore_hidden) { - GtkSizeGroupPriv *priv; + GtkSizeGroupPrivate *priv; g_return_if_fail (GTK_IS_SIZE_GROUP (size_group)); @@ -583,7 +583,7 @@ void gtk_size_group_add_widget (GtkSizeGroup *size_group, GtkWidget *widget) { - GtkSizeGroupPriv *priv; + GtkSizeGroupPrivate *priv; GSList *groups; g_return_if_fail (GTK_IS_SIZE_GROUP (size_group)); @@ -621,7 +621,7 @@ void gtk_size_group_remove_widget (GtkSizeGroup *size_group, GtkWidget *widget) { - GtkSizeGroupPriv *priv; + GtkSizeGroupPrivate *priv; GSList *groups; g_return_if_fail (GTK_IS_SIZE_GROUP (size_group)); @@ -723,7 +723,7 @@ compute_dimension (GtkWidget *widget, else { GtkSizeGroup *group = groups->data; - GtkSizeGroupPriv *priv = group->priv; + GtkSizeGroupPrivate *priv = group->priv; if (mode == GTK_SIZE_GROUP_HORIZONTAL && priv->have_width) result = priv->requisition.width; @@ -755,7 +755,7 @@ compute_dimension (GtkWidget *widget, while (tmp_list) { GtkSizeGroup *tmp_group = tmp_list->data; - GtkSizeGroupPriv *tmp_priv = tmp_group->priv; + GtkSizeGroupPrivate *tmp_priv = tmp_group->priv; if (mode == GTK_SIZE_GROUP_HORIZONTAL) { |