From 97cef48e628cd2266fe6e2c5c95528f360c1538c Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Thu, 7 Nov 2013 00:50:38 -0500 Subject: [PATCH 1/2] glib-demo: Fix indent for actions code. Signed-off-by: Elliott Sales de Andrade --- glib/demo/forms.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/glib/demo/forms.c b/glib/demo/forms.c index 9dfe3cd..fcd5b8b 100644 --- a/glib/demo/forms.c +++ b/glib/demo/forms.c @@ -131,7 +131,7 @@ pgd_form_field_view_set_field (GtkWidget *field_view, { GtkWidget *alignment; GtkWidget *table; - PopplerAction *action; + PopplerAction *action; GEnumValue *enum_value; gchar *text; gint row = 0; @@ -169,15 +169,15 @@ pgd_form_field_view_set_field (GtkWidget *field_view, g_free (text); } - action = poppler_form_field_get_action (field); - if (action) { - GtkWidget *action_view; + action = poppler_form_field_get_action (field); + if (action) { + GtkWidget *action_view; - action_view = pgd_action_view_new (NULL); - pgd_action_view_set_action (action_view, action); - pgd_table_add_property_with_custom_widget (GTK_GRID (table), "Action:", action_view, &row); - gtk_widget_show (action_view); - } + action_view = pgd_action_view_new (NULL); + pgd_action_view_set_action (action_view, action); + pgd_table_add_property_with_custom_widget (GTK_GRID (table), "Action:", action_view, &row); + gtk_widget_show (action_view); + } switch (poppler_form_field_get_field_type (field)) { case POPPLER_FORM_FIELD_BUTTON: -- 1.9.0