[Xfce4-commits] <xfce4-time-out-plugin:master> add DBG() and remove an unused variable

Landry Breuil noreply at xfce.org
Tue Apr 17 12:16:02 CEST 2012


Updating branch refs/heads/master
         to d8cc6f486b3fb07da400cf9e15b3cbafb2866037 (commit)
       from 742018134c75fcdaf0a30b32be4050fe9c4d8b06 (commit)

commit d8cc6f486b3fb07da400cf9e15b3cbafb2866037
Author: Landry Breuil <landry at xfce.org>
Date:   Tue Apr 17 12:14:07 2012 +0200

    add DBG() and remove an unused variable

 panel-plugin/time-out.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/time-out.c b/panel-plugin/time-out.c
index 630d420..cc204b7 100644
--- a/panel-plugin/time-out.c
+++ b/panel-plugin/time-out.c
@@ -155,7 +155,6 @@ static TimeOutPlugin*
 time_out_new (XfcePanelPlugin *plugin)
 {
   TimeOutPlugin *time_out;
-  GtkWidget     *label;
   GtkOrientation orientation;
 
   /* Allocate memory for the plugin structure */
@@ -934,6 +933,7 @@ time_out_start_break_countdown (TimeOutPlugin *time_out,
                                 gint           seconds)
 {
   g_return_if_fail (time_out != NULL);
+  DBG("starting break countdown");
 
   if (G_UNLIKELY (!time_out->enabled))
     return;
@@ -951,6 +951,7 @@ static void
 time_out_start_lock_countdown (TimeOutPlugin *time_out)
 {
   g_return_if_fail (time_out != NULL);
+  DBG("starting lock countdown");
 
   /* Resume countdown if it was paused, otherwise start it */
   if (G_UNLIKELY (time_out_countdown_get_paused (time_out->lock_countdown)))
@@ -974,6 +975,7 @@ static void
 time_out_stop_break_countdown (TimeOutPlugin *time_out)
 {
   g_return_if_fail (time_out != NULL);
+  DBG("stopping break countdown");
 
   /* Stop the countdown */
   time_out_countdown_stop (time_out->break_countdown);
@@ -985,6 +987,7 @@ static void
 time_out_stop_lock_countdown (TimeOutPlugin *time_out)
 {
   g_return_if_fail (time_out != NULL);
+  DBG("stopping lock countdown");
 
   /* Stop the countdown */
   time_out_countdown_stop (time_out->lock_countdown);


More information about the Xfce4-commits mailing list