[Xfce4-commits] [xfce/xfce4-panel] 08/08: panel-base-window: fix mixed declaration warning
noreply at xfce.org
noreply at xfce.org
Fri May 4 00:47:38 CEST 2018
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-panel.
commit a8a3b83432b6d775441260b29a4fab410b12a908
Author: Jason Zaman <jason at perfinion.com>
Date: Tue Apr 24 11:44:42 2018 +0800
panel-base-window: fix mixed declaration warning
panel-base-window.c: In function ‘panel_base_window_active_timeout_destroyed’:
panel-base-window.c:584:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
PanelBaseWindow *window = PANEL_BASE_WINDOW (user_data);
---
panel/panel-base-window.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/panel/panel-base-window.c b/panel/panel-base-window.c
index c62cbf7..850401e 100644
--- a/panel/panel-base-window.c
+++ b/panel/panel-base-window.c
@@ -580,10 +580,10 @@ panel_base_window_active_timeout (gpointer user_data)
static void
panel_base_window_active_timeout_destroyed (gpointer user_data)
{
- PANEL_BASE_WINDOW (user_data)->priv->active_timeout_id = 0;
PanelBaseWindow *window = PANEL_BASE_WINDOW (user_data);
GtkStyleContext *context;
+ window->priv->active_timeout_id = 0;
context = gtk_widget_get_style_context (GTK_WIDGET (window));
/* Stop the marching ants */
gtk_style_context_remove_class (context, "marching-ants");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list