[Xfce4-commits] [apps/xfce4-terminal] 01/01: Remove gtk_grab_add/remove as the menu seems to grab the keyboard anyway
noreply at xfce.org
noreply at xfce.org
Wed Jul 11 23:26:16 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 c0706f8cddb5b3160d491aaf7a755ed70ff942e3
Author: Igor <f2404 at 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.
More information about the Xfce4-commits
mailing list