[Xfce4-commits] <xfce4-weather-plugin:master> Add const qualifiers where appropriate: weather-http
Harald Judt
noreply at xfce.org
Thu Aug 2 23:08:08 CEST 2012
Updating branch refs/heads/master
to 9e8fb61edb18cf4c57c6fc82885ad72812c726bb (commit)
from e6fb04660575d34957277c9dc690aab528b69855 (commit)
commit 9e8fb61edb18cf4c57c6fc82885ad72812c726bb
Author: Harald Judt <h.judt at gmx.at>
Date: Thu Aug 2 22:56:35 2012 +0200
Add const qualifiers where appropriate: weather-http
panel-plugin/weather-http.c | 6 +++---
panel-plugin/weather-http.h | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/panel-plugin/weather-http.c b/panel-plugin/weather-http.c
index 53a9b4c..4f00e77 100644
--- a/panel-plugin/weather-http.c
+++ b/panel-plugin/weather-http.c
@@ -96,7 +96,7 @@ struct _WeatherConnection {
static gboolean
weather_http_receive_data_check(WeatherConnection *connection,
- GTimeVal timeout)
+ const GTimeVal timeout)
{
GTimeVal now;
@@ -453,8 +453,8 @@ void
weather_http_receive_data(const gchar *hostname,
const gchar *url,
const gchar *proxy_host,
- gint proxy_port,
- WeatherFunc cb_func,
+ const gint proxy_port,
+ const WeatherFunc cb_func,
gpointer user_data)
{
WeatherConnection *connection;
diff --git a/panel-plugin/weather-http.h b/panel-plugin/weather-http.h
index 9dc0757..99054d5 100644
--- a/panel-plugin/weather-http.h
+++ b/panel-plugin/weather-http.h
@@ -32,7 +32,7 @@ void weather_http_receive_data(const gchar *hostname,
const gchar *url,
const gchar *proxy_host,
gint proxy_port,
- WeatherFunc cb_func,
+ const WeatherFunc cb_func,
gpointer user_data);
G_END_DECLS
More information about the Xfce4-commits
mailing list