[Xfce4-commits] <xfce4-weather-plugin:master> Remove unused variables from set_orientation/set_mode code.
Harald Judt
noreply at xfce.org
Fri Feb 1 16:20:11 CET 2013
Updating branch refs/heads/master
to c62d44df2bfdbb2234649722b19b57592552f32e (commit)
from 4283fc699837378a1e7fca878da5c07d8f71ce24 (commit)
commit c62d44df2bfdbb2234649722b19b57592552f32e
Author: Harald Judt <h.judt at gmx.at>
Date: Fri Feb 1 16:08:02 2013 +0100
Remove unused variables from set_orientation/set_mode code.
panel-plugin/weather.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index 9739ee2..00f1264 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -1835,8 +1835,6 @@ xfceweather_set_mode(XfcePanelPlugin *panel,
XfcePanelPluginMode mode,
plugin_data *data)
{
- GtkWidget *parent = gtk_widget_get_parent(data->vbox_center_scrollbox);
-
data->panel_orientation = xfce_panel_plugin_get_mode(panel);
data->orientation = (mode != XFCE_PANEL_PLUGIN_MODE_VERTICAL)
? GTK_ORIENTATION_HORIZONTAL : GTK_ORIENTATION_VERTICAL;
@@ -1877,8 +1875,6 @@ xfceweather_set_orientation(XfcePanelPlugin *panel,
GtkOrientation orientation,
plugin_data *data)
{
- GtkWidget *parent = gtk_widget_get_parent(data->vbox_center_scrollbox);
-
data->orientation = GTK_ORIENTATION_HORIZONTAL;
data->panel_orientation = orientation;
More information about the Xfce4-commits
mailing list