[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 01/04: Fix compiler warning.

noreply at xfce.org noreply at xfce.org
Tue Sep 24 16:23:14 CEST 2019


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

g   o   t   t   c   o   d   e       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-whiskermenu-plugin.

commit 1e09b2e9fbfa54cc86453d44792a5ed1fd5e6f79
Author: Graeme Gott <graeme at gottcode.org>
Date:   Wed Aug 14 05:16:05 2019 -0400

    Fix compiler warning.
---
 panel-plugin/plugin.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/panel-plugin/plugin.cpp b/panel-plugin/plugin.cpp
index ce9b72b..3e53689 100644
--- a/panel-plugin/plugin.cpp
+++ b/panel-plugin/plugin.cpp
@@ -75,6 +75,7 @@ static bool panel_utils_grab_available()
 	return grab_succeed;
 }
 
+#if !LIBXFCE4PANEL_CHECK_VERSION(4,13,0)
 static void widget_add_css(GtkWidget* widget, const gchar* css)
 {
 	GtkCssProvider* provider = gtk_css_provider_new();
@@ -84,6 +85,7 @@ static void widget_add_css(GtkWidget* widget, const gchar* css)
 			GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
 	g_object_unref(provider);
 }
+#endif
 
 //-----------------------------------------------------------------------------
 

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


More information about the Xfce4-commits mailing list