[Xfce4-commits] [panel-plugins/xfce4-clipman-plugin] 01/02: Ignore deprecation warning for gtk_menu_popup

noreply at xfce.org noreply at xfce.org
Fri Jul 21 14:46:46 CEST 2017


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

o   c   h   o   s   i       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 panel-plugins/xfce4-clipman-plugin.

commit 30a97b52a07b1531039e7db4323dc1c9762b2a8e
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Fri Jul 21 14:45:42 2017 +0200

    Ignore deprecation warning for gtk_menu_popup
    
    As this is done for the panel plugin itself as well, let's also
    do it for the actions.
---
 panel-plugin/actions.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/panel-plugin/actions.c b/panel-plugin/actions.c
index 929e5c8..7943c57 100644
--- a/panel-plugin/actions.c
+++ b/panel-plugin/actions.c
@@ -771,8 +771,9 @@ clipman_actions_match_with_menu (ClipmanActions *actions,
     gtk_grab_add(actions->priv->menu);
   }
 
-
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
   gtk_menu_popup (GTK_MENU (actions->priv->menu), NULL, NULL, NULL, NULL, 0, gtk_get_current_event_time ());
+G_GNUC_END_IGNORE_DEPRECATIONS
 
   g_slist_free (entries);
 }

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


More information about the Xfce4-commits mailing list