X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-dialog-action-k-independent.c;h=09129469c94c149fa2356335595fd67685e186c4;hb=ceaed4a17cb3b0a14c89f10b72a636f94af97e7a;hp=9027fdd0a4f8b71294b519cc17b2608176257d68;hpb=e1c4d5d0f0c63ef20927ac2cd7f9ff4e7e4cf5c5;p=pspp diff --git a/src/ui/gui/psppire-dialog-action-k-independent.c b/src/ui/gui/psppire-dialog-action-k-independent.c index 9027fdd0a4..09129469c9 100644 --- a/src/ui/gui/psppire-dialog-action-k-independent.c +++ b/src/ui/gui/psppire-dialog-action-k-independent.c @@ -57,7 +57,7 @@ generate_syntax (const PsppireDialogAction *act) { g_string_append (string, "\n\t"); - if ( gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (kid->checkbutton[i]))) + if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (kid->checkbutton[i]))) { g_string_append_printf (string, "/%s = ", keyword[i]); psppire_var_view_append_names (PSPPIRE_VAR_VIEW (kid->vars_treeview), @@ -74,7 +74,7 @@ generate_syntax (const PsppireDialogAction *act) kid->upper_limit_value.f); } } - + g_string_append (string, ".\n"); text = string->str; @@ -95,10 +95,10 @@ dialog_state_valid (gpointer data) GtkTreeIter notused; - if ( !gtk_tree_model_get_iter_first (vars, ¬used) ) + if (!gtk_tree_model_get_iter_first (vars, ¬used)) return FALSE; - if ( 0 == strcmp ("", gtk_entry_get_text (GTK_ENTRY (kid->groupvar_entry)))) + if (0 == strcmp ("", gtk_entry_get_text (GTK_ENTRY (kid->groupvar_entry)))) return FALSE; gboolean method_set = FALSE; @@ -175,7 +175,7 @@ psppire_dialog_action_k_independent_activate (PsppireDialogAction *a, GVariant * PsppireDialogAction *pda = PSPPIRE_DIALOG_ACTION (a); PsppireDialogActionKIndependent *kid = PSPPIRE_DIALOG_ACTION_K_INDEPENDENT (a); - GtkBuilder *xml = builder_new ( "k-independent.ui"); + GtkBuilder *xml = builder_new ("k-independent.ui"); pda->dialog = get_widget_assert (xml, "k-independent-dialog"); pda->source = get_widget_assert (xml, "k-independent-treeview1");