[Xfce4-commits] [panel-plugins/xfce4-genmon-plugin] 01/02: Replace deprecated xfce_create_panel_button
noreply at xfce.org
noreply at xfce.org
Sat Oct 5 00:52:54 CEST 2019
This is an automated email from the git hooks/post-receive script.
T o Z 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-genmon-plugin.
commit 8a97e599ec0171aeb9a9aeca5227f00c39568e75
Author: ToZ <tony.paulic at gmail.com>
Date: Fri Oct 4 18:50:00 2019 -0400
Replace deprecated xfce_create_panel_button
---
panel-plugin/main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index 5b42384..b5b8579 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -396,7 +396,7 @@ static genmon_t *genmon_create_control (XfcePanelPlugin *plugin)
GTK_WIDGET (poMonitor->wImage), TRUE, FALSE, 0);
/* Add Button */
- poMonitor->wButton = xfce_create_panel_button ();
+ poMonitor->wButton = xfce_panel_create_button ();
#if GTK_CHECK_VERSION (3, 16, 0)
context = gtk_widget_get_style_context(poMonitor->wButton);
gtk_style_context_add_class(context,"genmon_imagebutton");
@@ -421,7 +421,7 @@ static genmon_t *genmon_create_control (XfcePanelPlugin *plugin)
GTK_WIDGET (poMonitor->wValue), TRUE, FALSE, 0);
/* Add Value Button */
- poMonitor->wValButton = xfce_create_panel_button ();
+ poMonitor->wValButton = xfce_panel_create_button ();
#if GTK_CHECK_VERSION (3, 16, 0)
context = gtk_widget_get_style_context(poMonitor->wValButton);
gtk_style_context_add_class(context,"genmon_valuebutton");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list