[Xfce4-commits] <xfce4-weather-plugin:master> Scrollbox: Remove obsolete code.

Harald Judt noreply at xfce.org
Sat Dec 15 21:22:06 CET 2012


Updating branch refs/heads/master
         to 2c24621109f5bb576d7b16d0c44157fcb062420b (commit)
       from 8c80d9279e87ebfd3729347aeb459f535dace813 (commit)

commit 2c24621109f5bb576d7b16d0c44157fcb062420b
Author: Harald Judt <h.judt at gmx.at>
Date:   Fri Dec 14 20:50:01 2012 +0100

    Scrollbox: Remove obsolete code.
    
    Maybe it was needed before, but it's no longer required.

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

diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index 5a1531b..7562bea 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -1553,13 +1553,6 @@ xfceweather_create_control(XfcePanelPlugin *plugin)
     lbl = WIND_SPEED;
     g_array_append_val(data->labels, lbl);
 
-    /*
-     * FIXME: Without this the first label looks odd, because
-     * the gc isn't created yet
-     */
-    gtk_scrollbox_set_label(GTK_SCROLLBOX(data->scrollbox), -1, "1");
-    gtk_scrollbox_clear(GTK_SCROLLBOX(data->scrollbox));
-
     weather_debug("Plugin widgets set up and ready.");
     return data;
 }


More information about the Xfce4-commits mailing list