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

noreply at xfce.org noreply at xfce.org
Mon Sep 30 10:13:36 CEST 2019


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 xfce/xfce4-power-manager.

commit 57c54a63a4e591a558056ac7a9f00e3b519e7e62
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 3c6a2bc..85c2982 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