gtk: We're targeting gtk3.10 so clean up all the gtk version checks and go with that

This commit is contained in:
JosephMcc
2016-02-14 12:25:15 -08:00
parent d1cc738f54
commit b084e7b4c6
36 changed files with 50 additions and 747 deletions

View File

@@ -454,11 +454,7 @@ build_suggestion_menu (XedAutomaticSpellChecker *spell, const gchar *word)
label = gtk_label_new (label_text);
gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
#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
mi = gtk_menu_item_new ();
gtk_container_add (GTK_CONTAINER(mi), label);