{
int i;
struct variable_node *vn = NULL;
+ double weight;
if (NULL == cat)
return;
- const double weight = cat->wv ? case_data (c, cat->wv)->f : 1.0;
+ weight = cat->wv ? case_data (c, cat->wv)->f : 1.0;
assert (NULL == cat->reverse_variable_map_short);
assert (NULL == cat->reverse_variable_map_long);
vr->rw[i].label = GTK_LABEL (gtk_label_new (gettext (l->label)));
gtk_label_set_use_underline (vr->rw[i].label, TRUE);
vr->rw[i].rb = GTK_TOGGLE_BUTTON (gtk_radio_button_new (group));
- gtk_label_set_mnemonic_widget (vr->rw[i].label, vr->rw[i].rb);
+ gtk_label_set_mnemonic_widget (vr->rw[i].label, GTK_WIDGET (vr->rw[i].rb));
gtk_misc_set_alignment (GTK_MISC (vr->rw[i].label), 0, 0.5);
g_object_set (tto->confidence,
"use-underline", TRUE,
- "mnemonic-widget", psppire_scanf_get_child (tto->confidence, 0),
+ "mnemonic-widget", psppire_scanf_get_child (PSPPIRE_SCANF (tto->confidence), 0),
NULL);
tto->dialog = get_widget_assert (tto->xml, "options-dialog");