[Xfce4-commits] [apps/xfce4-terminal] 01/01: Avoid GTK errors when closing a window having Set Title popover shown

noreply at xfce.org noreply at xfce.org
Fri Apr 13 19:04:43 CEST 2018


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 c88623b17c8ee655901c3fc9adf742bd723cb190
Author: Igor <f2404 at yandex.ru>
Date:   Fri Apr 13 13:02:37 2018 -0400

    Avoid GTK errors when closing a window having Set Title popover shown
---
 terminal/terminal-window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index ba9497f..f427e35 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -2062,7 +2062,7 @@ title_popover_close (GtkWidget      *popover,
   window->priv->title_popover = NULL;
 
   /* focus the terminal: bug #13754 */
-  if (G_LIKELY (window->priv->active != NULL))
+  if (G_LIKELY (window->priv->active != NULL && TERMINAL_IS_SCREEN (window->priv->active)))
     terminal_screen_focus (window->priv->active);
 }
 

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


More information about the Xfce4-commits mailing list