[Xfce4-commits] [apps/xfce4-terminal] 01/01: Revert "Fix negative dimensions GTK warning when running terminal with --tab option"

noreply at xfce.org noreply at xfce.org
Fri Aug 16 20:50:56 CEST 2019


This is an automated email from the git hooks/post-receive script.

f   2   4   0   4       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-terminal.

commit d6ffd7f638935585340edf8eec104730cbed122d
Author: Igor <f2404 at yandex.ru>
Date:   Fri Aug 16 14:48:06 2019 -0400

    Revert "Fix negative dimensions GTK warning when running terminal with --tab option"
    
    This change causes invalid window geometry when running with multiple tabs
    (--tab option) and changing the termional font.
    
    This reverts commit 13c71c81eb54db919ca23c870a9af1cb92233dca.
---
 terminal/terminal-screen.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index d56bb17..e7d1055 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -492,12 +492,9 @@ terminal_screen_realize (GtkWidget *widget)
 
   (*GTK_WIDGET_CLASS (terminal_screen_parent_class)->realize) (widget);
 
-#if !GTK_CHECK_VERSION (3, 20, 0)
-  /* make sure the TerminalWidget is realized as well
-     (produces "Drawing a gadget with negative dimensions" Gtk-WARNING) */
+  /* make sure the TerminalWidget is realized as well */
   if (!gtk_widget_get_realized (TERMINAL_SCREEN (widget)->terminal))
     gtk_widget_realize (TERMINAL_SCREEN (widget)->terminal);
-#endif
 
   /* connect to the "composited-changed" signal */
   screen = gtk_widget_get_screen (widget);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list