Commit 8faac59142c578e68ef5623ec4199f77fcba6cdb

Authored by Perry Werneck
1 parent 52ef521f
Exists in master and in 1 other branch develop

Fixing RHEL-7 build.

Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
src/dialogs/security.c
... ... @@ -45,7 +45,12 @@
45 45 {
46 46 GtkLabel *widget = GTK_LABEL(gtk_label_new(""));
47 47 gtk_label_set_markup(widget,text);
  48 +#if GTK_CHECK_VERSION(3,16,0)
48 49 gtk_label_set_xalign(widget,0);
  50 +#else
  51 + gtk_misc_set_alignment(GTK_MISC(widget),0,0.5);
  52 +#endif // GTK_CHECK_VERSION
  53 +
49 54 return GTK_WIDGET(widget);
50 55 }
51 56  
... ...