dialog-commodity.c (gnucash-5.0.tar.bz2) | : | dialog-commodity.c (gnucash-5.1.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 634 | skipping to change at line 634 | |||
if (init_string && | if (init_string && | |||
(g_utf8_collate(node->data, init_string) == 0)) | (g_utf8_collate(node->data, init_string) == 0)) | |||
{ | { | |||
matched = TRUE; | matched = TRUE; | |||
match = iter; | match = iter; | |||
} | } | |||
} | } | |||
if (!matched) | if (!matched) | |||
gtk_tree_model_get_iter_first(model, &match); | matched = gtk_tree_model_get_iter_first (model, &match); | |||
gtk_combo_box_set_active_iter(combo_box, &match); | ||||
if (matched) | ||||
gtk_combo_box_set_active_iter (combo_box, &match); | ||||
g_list_free(namespaces); | g_list_free(namespaces); | |||
} | } | |||
gchar * | gchar * | |||
gnc_ui_namespace_picker_ns (GtkWidget *cbwe) | gnc_ui_namespace_picker_ns (GtkWidget *cbwe) | |||
{ | { | |||
const gchar *name_space; | const gchar *name_space; | |||
g_return_val_if_fail(GTK_IS_COMBO_BOX (cbwe), NULL); | g_return_val_if_fail(GTK_IS_COMBO_BOX (cbwe), NULL); | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 4 lines changed or added |