diff options
author | raveit65 <[email protected]> | 2017-03-04 12:12:48 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-03-06 16:10:06 +0100 |
commit | 32ae49f81c05e676a86544e66b09f65f83b9db37 (patch) | |
tree | e7276b2611c75b1e8363d43894749f4b1ed9bd49 /shell/ev-properties-license.c | |
parent | 285289c2e4d7d625c96d3e683dfdb01b098df373 (diff) | |
download | atril-32ae49f81c05e676a86544e66b09f65f83b9db37.tar.bz2 atril-32ae49f81c05e676a86544e66b09f65f83b9db37.tar.xz |
avoid deprecated gtk_misc_set_alignment
Diffstat (limited to 'shell/ev-properties-license.c')
-rw-r--r-- | shell/ev-properties-license.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/ev-properties-license.c b/shell/ev-properties-license.c index 154991a4..de7aaa77 100644 --- a/shell/ev-properties-license.c +++ b/shell/ev-properties-license.c @@ -107,7 +107,11 @@ ev_properties_license_add_section (EvPropertiesLicense *properties, gchar *markup; title = gtk_label_new (NULL); +#if GTK_CHECK_VERSION (3, 16, 0) + gtk_label_set_xalign (GTK_LABEL (title), 0.0); +#else gtk_misc_set_alignment (GTK_MISC (title), 0.0, 0.5); +#endif gtk_label_set_use_markup (GTK_LABEL (title), TRUE); markup = g_strdup_printf ("<b>%s</b>", title_text); gtk_label_set_markup (GTK_LABEL (title), markup); |