X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-dialog-action-weight.c;h=a96acc98345bbd4b0390aeefa55dcc22fd457379;hb=4cee6fc1f72440698ca8f3f89a71d29e7ee46a0d;hp=280d3c3c483ef4d28755f654c40dd7452ad1af5f;hpb=e1c4d5d0f0c63ef20927ac2cd7f9ff4e7e4cf5c5;p=pspp diff --git a/src/ui/gui/psppire-dialog-action-weight.c b/src/ui/gui/psppire-dialog-action-weight.c index 280d3c3c48..a96acc9834 100644 --- a/src/ui/gui/psppire-dialog-action-weight.c +++ b/src/ui/gui/psppire-dialog-action-weight.c @@ -45,7 +45,7 @@ generate_syntax (const PsppireDialogAction *pda) const struct variable *var = psppire_dict_lookup_var (pda->dict, text); - if ( var == NULL) + if (var == NULL) syntax = g_strdup ("WEIGHT OFF.\n"); else syntax = g_strdup_printf ("WEIGHT BY %s.\n", @@ -68,7 +68,7 @@ refresh (PsppireDialogAction *pda) const struct variable *var = dict_get_weight (pda->dict->dict); - if ( ! var ) + if (! var) { gtk_entry_set_text (GTK_ENTRY (wcd->entry), ""); gtk_label_set_text (GTK_LABEL (wcd->status), _("Do not weight cases")); @@ -124,7 +124,7 @@ psppire_dialog_action_weight_activate (PsppireDialogAction *pda, GVariant *param { PsppireDialogActionWeight *act = PSPPIRE_DIALOG_ACTION_WEIGHT (pda); - GtkBuilder *xml = builder_new ( "weight.ui"); + GtkBuilder *xml = builder_new ("weight.ui"); pda->dialog = get_widget_assert (xml, "weight-cases-dialog"); pda->source = get_widget_assert (xml, "weight-cases-treeview");