[Xfce4-commits] <xfce4-weather-plugin:master> Add const qualifiers where appropriate: weather-scrollbox
Harald Judt
noreply at xfce.org
Thu Aug 2 23:08:12 CEST 2012
Updating branch refs/heads/master
to d6d64a8ab313200ca99c754398f407f893bb6001 (commit)
from 18f102527aaa1ed364290339422263c75ee2ab23 (commit)
commit d6d64a8ab313200ca99c754398f407f893bb6001
Author: Harald Judt <h.judt at gmx.at>
Date: Thu Aug 2 22:56:35 2012 +0200
Add const qualifiers where appropriate: weather-scrollbox
panel-plugin/weather-scrollbox.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/panel-plugin/weather-scrollbox.c b/panel-plugin/weather-scrollbox.c
index 03fb51f..6773bd0 100644
--- a/panel-plugin/weather-scrollbox.c
+++ b/panel-plugin/weather-scrollbox.c
@@ -260,7 +260,7 @@ gtk_scrollbox_start_fade(GtkScrollbox *self)
void
gtk_scrollbox_set_label(GtkScrollbox *self,
- gint position,
+ const gint position,
gchar *markup)
{
PangoLayout *layout;
@@ -278,7 +278,7 @@ gtk_scrollbox_set_label(GtkScrollbox *self,
void
gtk_scrollbox_set_orientation(GtkScrollbox *self,
- GtkOrientation orientation)
+ const GtkOrientation orientation)
{
g_return_if_fail(GTK_IS_SCROLLBOX(self));
@@ -308,7 +308,7 @@ gtk_scrollbox_clear(GtkScrollbox *self)
void gtk_scrollbox_set_animate(GtkScrollbox *self,
- gboolean animate)
+ const gboolean animate)
{
self->animate = animate;
}
More information about the Xfce4-commits
mailing list