[Xfce4-commits] <xfce4-weather-plugin:master> Fix compilation warnings.

Harald Judt noreply at xfce.org
Mon Jul 2 12:38:22 CEST 2012


Updating branch refs/heads/master
         to 9cbd1a26b80cad182dd6a8da0d80372e8cd7438e (commit)
       from f0a4e5fb9ffb4a96cb1af9dc6ba6f350eab0b7e5 (commit)

commit 9cbd1a26b80cad182dd6a8da0d80372e8cd7438e
Author: Harald Judt <h.judt at gmx.at>
Date:   Mon Jul 2 12:31:41 2012 +0200

    Fix compilation warnings.

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

diff --git a/panel-plugin/weather-summary.c b/panel-plugin/weather-summary.c
index cc822b9..24b76f9 100644
--- a/panel-plugin/weather-summary.c
+++ b/panel-plugin/weather-summary.c
@@ -360,8 +360,8 @@ add_forecast_header(gchar *text, gdouble angle, GdkColor *color)
     gtk_widget_show(GTK_WIDGET(box));
 
     label = gtk_label_new(NULL);
-    gtk_label_set_angle(label, angle);
-    gtk_widget_show(label);
+    gtk_label_set_angle(GTK_LABEL(label), angle);
+    gtk_widget_show(GTK_WIDGET(label));
     str = g_strdup_printf("<span foreground=\"white\"><b>%s</b></span>", text ? text : "");
     gtk_label_set_markup(GTK_LABEL(label), str);
     g_free(str);


More information about the Xfce4-commits mailing list