diff options
author | Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at> | 2017-04-20 23:51:19 +0200 |
---|---|---|
committer | Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at> | 2017-04-20 23:51:19 +0200 |
commit | c58699cfde666f766575d6bc932555ca913e0594 (patch) | |
tree | c093f35ba4c2e24e3ac5a5b2dd0e7d10673874f0 /panel | |
parent | 4504c950421ed57bf2e94391c2e23b9f628bf3e7 (diff) | |
download | xfce4-panel-c58699cfde666f766575d6bc932555ca913e0594.tar.gz |
Drop unused var
Diffstat (limited to 'panel')
-rw-r--r-- | panel/panel-base-window.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/panel/panel-base-window.c b/panel/panel-base-window.c index 63f1c5c8..746d4a4a 100644 --- a/panel/panel-base-window.c +++ b/panel/panel-base-window.c @@ -463,7 +463,6 @@ panel_base_window_enter_notify_event (GtkWidget *widget, GdkEventCrossing *event) { PanelBaseWindow *window = PANEL_BASE_WINDOW (widget); - PanelBaseWindowPrivate *priv = PANEL_BASE_WINDOW (widget)->priv; /* switch to enter opacity when compositing is enabled * and the two values are different */ @@ -486,7 +485,6 @@ panel_base_window_leave_notify_event (GtkWidget *widget, GdkEventCrossing *event) { PanelBaseWindow *window = PANEL_BASE_WINDOW (widget); - PanelBaseWindowPrivate *priv = PANEL_BASE_WINDOW (widget)->priv; /* switch to leave opacity when compositing is enabled * and the two values are different */ @@ -682,7 +680,6 @@ panel_base_window_set_plugin_enter_opacity (GtkWidget *widget, gpointer user_data) { PanelBaseWindow *window = PANEL_BASE_WINDOW (user_data); - PanelBaseWindowPrivate *priv = window->priv; panel_base_window_set_plugin_opacity (widget, user_data, window->enter_opacity); } @@ -694,7 +691,6 @@ panel_base_window_set_plugin_leave_opacity (GtkWidget *widget, gpointer user_data) { PanelBaseWindow *window = PANEL_BASE_WINDOW (user_data); - PanelBaseWindowPrivate *priv = window->priv; panel_base_window_set_plugin_opacity (widget, user_data, window->leave_opacity); } @@ -772,6 +768,8 @@ panel_base_window_set_borders (PanelBaseWindow *window, panel_return_if_fail (PANEL_IS_BASE_WINDOW (window)); + g_warning ("borders set."); + if (priv->borders != borders) { priv->borders = borders; |