Commit ba689348 authored by step-'s avatar step-

Fix conditional label alignment for GTK2

Please note: I didn't test this fix because I don't yad link with webkit.
parent 0660417f
......@@ -244,7 +244,7 @@ open_cb (GtkWidget * w, gpointer d)
cnt = gtk_dialog_get_content_area (GTK_DIALOG (dlg));
lbl = gtk_label_new (_("Enter URI or file name:"));
#if GTK_CHECK_VERSION(3,0,0)
#if !GTK_CHECK_VERSION(3,0,0)
gtk_misc_set_alignment (GTK_MISC (lbl), 0.0, 0.5);
#else
gtk_label_set_xalign (GTK_LABEL (lbl), 0.0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment