[vte/vte-0-44] widget: Warn about CSS problem with upgrade to gtk 3.19



commit 61657b7f9d9476ca92823c95b2a258a211715589
Author: Christian Persch <chpe gnome org>
Date:   Mon Mar 14 18:10:09 2016 +0100

    widget: Warn about CSS problem with upgrade to gtk 3.19
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763538
    (cherry picked from commit fa008f96d9484204db73d2b500f22f47c247905e)

 src/vtegtk.cc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/vtegtk.cc b/src/vtegtk.cc
index 566c74d..a2591b4 100644
--- a/src/vtegtk.cc
+++ b/src/vtegtk.cc
@@ -655,6 +655,10 @@ vte_terminal_class_init(VteTerminalClass *klass)
 
 #if GTK_CHECK_VERSION(3, 19, 5)
         gtk_widget_class_set_css_name(widget_class, VTE_TERMINAL_CSS_NAME);
+#else
+        /* Bug #763538 */
+        if (gtk_check_version(3, 19, 5) == nullptr)
+                g_printerr("VTE needs to be recompiled against a newer gtk+ version.\n");
 #endif
 
        /* Initialize default handlers. */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]