[Xfce4-commits] <xfce4-weather-plugin:master> Make "no timeslice" warning more clear.

Harald Judt noreply at xfce.org
Sun Aug 19 10:08:06 CEST 2012


Updating branch refs/heads/master
         to 85120d293792d5cd883d0901e06d3335745a5d49 (commit)
       from cfaf022756565cb2ec62f094063fbf28b29cb022 (commit)

commit 85120d293792d5cd883d0901e06d3335745a5d49
Author: Harald Judt <h.judt at gmx.at>
Date:   Sat Aug 18 23:01:01 2012 +0200

    Make "no timeslice" warning more clear.

 panel-plugin/weather-parsers.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/weather-parsers.c b/panel-plugin/weather-parsers.c
index f0aa38d..5f25cc2 100644
--- a/panel-plugin/weather-parsers.c
+++ b/panel-plugin/weather-parsers.c
@@ -230,7 +230,8 @@ parse_time(xmlNode *cur_node,
     timeslice = get_timeslice(data, start_t, end_t);
 
     if (G_UNLIKELY(!timeslice)) {
-        g_warning("no timeslice");
+        g_warning("No timeslice found or created. "
+                  "Perhaps maximum of %d slices reached?", MAX_TIMESLICE);
         return;
     }
     for (child_node = cur_node->children; child_node;


More information about the Xfce4-commits mailing list