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

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


Updating branch refs/heads/master
         to 398acd6b8ca32f4f7ee2a5450ed599c99c16db5d (commit)
       from 9e8fb61edb18cf4c57c6fc82885ad72812c726bb (commit)

commit 398acd6b8ca32f4f7ee2a5450ed599c99c16db5d
Author: Harald Judt <h.judt at gmx.at>
Date:   Thu Aug 2 22:56:35 2012 +0200

    Add const qualifiers where appropriate: weather-icon

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

diff --git a/panel-plugin/weather-icon.c b/panel-plugin/weather-icon.c
index 1d0a78b..f3cb1de 100644
--- a/panel-plugin/weather-icon.c
+++ b/panel-plugin/weather-icon.c
@@ -43,8 +43,8 @@ const gchar *night_symbols[] = {
 
 GdkPixbuf *
 get_icon(const gchar *number,
-         gint size,
-         gboolean night)
+         const gint size,
+         const gboolean night)
 {
     GdkPixbuf *image = NULL;
     gchar *filename, *night_suffix = "";


More information about the Xfce4-commits mailing list