[gnome-terminal] client: legacy: --geometry option is unsupported on gtk+ >= 3.19.5



commit 28d8f12e5024e7278d747f573da671cf97293a69
Author: Christian Persch <chpe gnome org>
Date:   Tue Jan 26 18:18:10 2016 +0100

    client: legacy: --geometry option is unsupported on gtk+ >= 3.19.5
    
    https://bugzilla.gnome.org/show_bug.cgi?id=760944

 src/terminal-options.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/terminal-options.c b/src/terminal-options.c
index a3e01df..dca3a8a 100644
--- a/src/terminal-options.c
+++ b/src/terminal-options.c
@@ -572,6 +572,10 @@ option_geometry_callback (const gchar *option_name,
 {
   TerminalOptions *options = data;
 
+  /* See https://bugzilla.gnome.org/show_bug.cgi?id=760944 */
+  if (gtk_check_version (3, 19, 5) == NULL)
+    return unsupported_option_callback (option_name, value, data, error);
+
   if (options->initial_windows)
     {
       InitialWindow *iw;


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