From 37e590249dd9d191a2331040fb879830c9ceea8e Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Wed, 27 Jan 2016 18:14:37 +0100 Subject: GTK3: fix previous GtkMisc deprecations fix commit --- geyes/themes.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'geyes') diff --git a/geyes/themes.c b/geyes/themes.c index e562bf8a..58a82679 100644 --- a/geyes/themes.c +++ b/geyes/themes.c @@ -320,10 +320,10 @@ properties_cb (GtkAction *action, label = gtk_label_new (_(title)); gtk_label_set_use_markup (GTK_LABEL (label), TRUE); gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_LEFT); -#if GTK_CHECK_VERSION (3, 0, 0) - gtk_widget_set_halign (label, GTK_ALIGN_START); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_label_set_xalign (GTK_LABEL (label), 0.0); #else - gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5); + gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); #endif gtk_box_pack_start (GTK_BOX (category_vbox), label, FALSE, FALSE, 0); g_free (title); @@ -342,10 +342,10 @@ properties_cb (GtkAction *action, gtk_widget_show (control_vbox); label = gtk_label_new_with_mnemonic (_("_Select a theme:")); -#if GTK_CHECK_VERSION (3, 0, 0) - gtk_widget_set_halign (label, GTK_ALIGN_START); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_label_set_xalign (GTK_LABEL (label), 0.0); #else - gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5); + gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); #endif gtk_box_pack_start (GTK_BOX (control_vbox), label, FALSE, FALSE, 0); -- cgit v1.2.1