[Xfce4-commits] [apps/xfce4-terminal] 01/01: Suppress gdk_keyboard_(un)grab deprecation warnings

noreply at xfce.org noreply at xfce.org
Mon Mar 19 14:32:05 CET 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 72e08125afa45d77db3e027e756f6e7a994066b5
Author: Igor <f2404 at yandex.ru>
Date:   Mon Mar 19 09:31:57 2018 -0400

    Suppress gdk_keyboard_(un)grab deprecation warnings
---
 terminal/terminal-window-dropdown.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/terminal/terminal-window-dropdown.c b/terminal/terminal-window-dropdown.c
index 2e6391c..c9912bc 100644
--- a/terminal/terminal-window-dropdown.c
+++ b/terminal/terminal-window-dropdown.c
@@ -579,12 +579,16 @@ static gboolean
 terminal_window_dropdown_can_grab (gpointer data)
 {
   GdkWindow    *window = gtk_widget_get_window (GTK_WIDGET (data));
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
   GdkGrabStatus status = gdk_keyboard_grab (window, FALSE, GDK_CURRENT_TIME);
+G_GNUC_END_IGNORE_DEPRECATIONS
 
   if (status == GDK_GRAB_SUCCESS)
     {
       /* drop the grab */
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
       gdk_keyboard_ungrab (GDK_CURRENT_TIME);
+G_GNUC_END_IGNORE_DEPRECATIONS
       return FALSE;
     }
 

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


More information about the Xfce4-commits mailing list