Couple of corrections to previous commit.

This commit is contained in:
Robert Fewell 2017-06-17 16:34:56 +01:00
parent 05eb41fe8b
commit 04cf3d93e2
2 changed files with 2 additions and 2 deletions

View File

@ -227,7 +227,7 @@ gnc_window_adjust_for_screen(GtkWindow * window)
void
gnc_label_set_alignment (GtkWidget *widget, gfloat xalign, gfloat yalign)
{
#if GTK_CHECK_VERSION(3,16,0) == 0
#if GTK_CHECK_VERSION(3,16,0)
gtk_label_set_xalign (GTK_LABEL (widget), xalign);
gtk_label_set_yalign (GTK_LABEL (widget), yalign);
#else

View File

@ -930,7 +930,7 @@ new_security_page(SCM security_hash_key, gnc_commodity *comm, QIFImportWindow *w
label = gtk_label_new_with_mnemonic(
_("_Exchange or abbreviation type:"));
gtk_label_set_mnemonic_widget(GTK_LABEL(label), retval->namespace_combo);
ggnc_label_set_alignment(label, 0, 0.5);
gnc_label_set_alignment(label, 0, 0.5);
gtk_widget_set_tooltip_text(label, namespace_tooltip);
gtk_widget_set_tooltip_text(retval->namespace_combo, namespace_tooltip);