[Xfce4-commits] [apps/xfce4-terminal] 01/01: Fix resize logic with tab.

noreply at xfce.org noreply at xfce.org
Sun Jul 31 20:17:50 CEST 2016


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

f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.

commit 61cdb39a75948ae50f6ed59b9b9f492ebdfd5bda
Author: Olivier Duchateau <duchateau.olivierd at gmail.com>
Date:   Sat Jul 30 12:58:07 2016 +0000

    Fix resize logic with tab.
    
    Signed-off-by: Igor <f2404 at yandex.ru>
---
 terminal/terminal-screen.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index fda8854..f9cb0da 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -1812,8 +1812,8 @@ terminal_screen_force_resize_window (TerminalScreen *screen,
 
   terminal_screen_set_window_geometry_hints (screen, window);
 
-  gtk_widget_get_preferred_size (GTK_WIDGET (window), &window_requisition, NULL);
-  gtk_widget_get_preferred_size (screen->terminal, &terminal_requisition, NULL);
+  gtk_widget_get_preferred_size (GTK_WIDGET (window), NULL, &window_requisition);
+  gtk_widget_get_preferred_size (screen->terminal, NULL, &terminal_requisition);
 
   if (columns < 1)
     columns = vte_terminal_get_column_count (VTE_TERMINAL (screen->terminal));

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


More information about the Xfce4-commits mailing list