[Xfce4-commits] [panel-plugins/xfce4-time-out-plugin] 01/02: Allow compilation with panel 4.15

noreply at xfce.org noreply at xfce.org
Fri Oct 4 05:29:56 CEST 2019


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

a   n   d   r   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-time-out-plugin.

commit a4e1e6d401e70b251d397359bd61df1ec937f3d7
Author: Andre Miranda <andreldm at xfce.org>
Date:   Fri Oct 4 00:16:13 2019 -0300

    Allow compilation with panel 4.15
---
 panel-plugin/time-out.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/time-out.c b/panel-plugin/time-out.c
index e16aadf..c083b87 100644
--- a/panel-plugin/time-out.c
+++ b/panel-plugin/time-out.c
@@ -26,7 +26,7 @@
 #include <gtk/gtk.h>
 #include <libxfce4util/libxfce4util.h>
 #include <libxfce4ui/libxfce4ui.h>
-#include <libxfce4panel/xfce-panel-plugin.h>
+#include <libxfce4panel/libxfce4panel.h>
 
 #include "time-out.h"
 #include "time-out-countdown.h"
@@ -162,7 +162,7 @@ time_out_new (XfcePanelPlugin *plugin)
   GtkOrientation orientation;
 
   /* Allocate memory for the plugin structure */
-  time_out = panel_slice_new0 (TimeOutPlugin);
+  time_out = g_slice_new0 (TimeOutPlugin);
 
   /* Store pointer to the plugin */
   time_out->plugin = plugin;
@@ -238,7 +238,7 @@ time_out_free (XfcePanelPlugin *plugin,
   gtk_widget_destroy (time_out->hvbox);
 
   /* Free the plugin structure */
-  panel_slice_free (TimeOutPlugin, time_out);
+  g_slice_free (TimeOutPlugin, time_out);
 }
 
 

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


More information about the Xfce4-commits mailing list