summaryrefslogtreecommitdiff
path: root/charpick
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-27 18:14:37 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-27 18:14:37 +0100
commit37e590249dd9d191a2331040fb879830c9ceea8e (patch)
tree59fa7570d63841063eeb7682c201a5053f3d427b /charpick
parentacc20eb50af01fcb6ca2a024b65913cc32a1e670 (diff)
downloadmate-applets-37e590249dd9d191a2331040fb879830c9ceea8e.tar.bz2
mate-applets-37e590249dd9d191a2331040fb879830c9ceea8e.tar.xz
GTK3: fix previous GtkMisc deprecations fix commit
Diffstat (limited to 'charpick')
-rw-r--r--charpick/properties.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/charpick/properties.c b/charpick/properties.c
index 2252131d..ac41ebd9 100644
--- a/charpick/properties.c
+++ b/charpick/properties.c
@@ -420,8 +420,8 @@ create_hig_catagory (GtkWidget *main_box, gchar *title)
tmp = g_strdup_printf ("<b>%s</b>", title);
label = gtk_label_new (NULL);
-#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, 0.5);
#endif
@@ -464,8 +464,8 @@ static void default_chars_frame_create(charpick_data *curr_data)
label = gtk_label_new_with_mnemonic(_("_Palettes:"));
gtk_box_pack_start(GTK_BOX(vbox3), label, FALSE, FALSE, 0);
-#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, 0.5);
#endif