[Xfce4-commits] <xfce4-weather-plugin:master> Add const qualifiers where appropriate: weather

Harald Judt noreply at xfce.org
Thu Aug 2 23:08:15 CEST 2012


Updating branch refs/heads/master
         to 40c0852c204ccfbbb126f56bd66a3c5b00eefbc6 (commit)
       from e954444226aad2ef2cc33736e4c9ed3e06a979b0 (commit)

commit 40c0852c204ccfbbb126f56bd66a3c5b00eefbc6
Author: Harald Judt <h.judt at gmx.at>
Date:   Thu Aug 2 22:57:04 2012 +0200

    Add const qualifiers where appropriate: weather

 panel-plugin/weather.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index e1768ed..8a7795c 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -348,9 +348,9 @@ update_current_conditions(xfceweather_data *data)
 
 
 static void
-cb_astro_update(gboolean succeed,
+cb_astro_update(const gboolean succeed,
                 gchar *result,
-                size_t len,
+                const size_t len,
                 gpointer user_data)
 {
     xfceweather_data *data = user_data;
@@ -384,9 +384,9 @@ cb_astro_update(gboolean succeed,
 
 
 static void
-cb_update(gboolean succeed,
+cb_update(const gboolean succeed,
           gchar *result,
-          size_t len,
+          const size_t len,
           gpointer user_data)
 {
     xfceweather_data *data = user_data;


More information about the Xfce4-commits mailing list