[Xfce4-commits] [xfce/xfce4-power-manager] 01/02: panel-plugin: Replace deprecated call

noreply at xfce.org noreply at xfce.org
Fri Mar 6 00:27:27 CET 2020


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       x   f   c   e   -   4   .   1   4   
   in repository xfce/xfce4-power-manager.

commit b2a20cbe0233f8b96a5d8f59a3bf683b069a0760
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Sat Sep 28 00:00:03 2019 +0200

    panel-plugin: Replace deprecated call
    
    Preparation for xfce4-panel 4.16
---
 panel-plugins/power-manager-plugin/xfce/xfce-power-manager-plugin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugins/power-manager-plugin/xfce/xfce-power-manager-plugin.c b/panel-plugins/power-manager-plugin/xfce/xfce-power-manager-plugin.c
index bd947be..7aea8c5 100644
--- a/panel-plugins/power-manager-plugin/xfce/xfce-power-manager-plugin.c
+++ b/panel-plugins/power-manager-plugin/xfce/xfce-power-manager-plugin.c
@@ -227,7 +227,7 @@ power_manager_plugin_new (XfcePanelPlugin *plugin)
     XfconfChannel *channel;
 
     /* allocate memory for the plugin structure */
-    power_manager_plugin = panel_slice_new0 (PowerManagerPlugin);
+    power_manager_plugin = g_slice_new0 (PowerManagerPlugin);
 
     /* pointer to plugin */
     power_manager_plugin->plugin = plugin;

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


More information about the Xfce4-commits mailing list