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 c0706f8cddb5b3160d491aaf7a755ed70ff942e3
Author: Igor <f2...@yandex.ru>
Date:   Wed Jul 11 17:23:52 2018 -0400

    Remove gtk_grab_add/remove as the menu seems to grab the keyboard anyway
    
    This resolves the "gdk_window_get_window_type: assertion 'GDK_IS_WINDOW 
(window)'
    failed" Gdk-CRITICAL message.
---
 terminal/terminal-widget.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/terminal/terminal-widget.c b/terminal/terminal-widget.c
index 6a302f3..0cefa8a 100644
--- a/terminal/terminal-widget.c
+++ b/terminal/terminal-widget.c
@@ -351,7 +351,6 @@ terminal_widget_context_menu (TerminalWidget *widget,
   gtk_menu_set_screen (GTK_MENU (menu), gtk_widget_get_screen (GTK_WIDGET 
(widget)));
 
   /* run our custom main loop */
-  gtk_grab_add (menu);
 #if GTK_CHECK_VERSION (3, 22, 0)
   gtk_menu_popup_at_pointer (GTK_MENU (menu), NULL);
 #else
@@ -360,7 +359,6 @@ terminal_widget_context_menu (TerminalWidget *widget,
 #endif
   g_main_loop_run (loop);
   g_main_loop_unref (loop);
-  gtk_grab_remove (menu);
 
   /* remove the additional items (if any) */
   if (item_separator != NULL) gtk_widget_destroy (item_separator);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to