[Xfce4-commits] [xfce/xfce4-panel] 02/02: Cleanup
noreply at xfce.org
noreply at xfce.org
Sun Jun 22 11:57:06 CEST 2014
This is an automated email from the git hooks/post-receive script.
andrzejr pushed a commit to branch master
in repository xfce/xfce4-panel.
commit 61cba9a0fc5471dff7545eee8e0f81ffaf5ab106
Author: Andrzej <ndrwrdck at gmail.com>
Date: Sun Jun 22 10:56:23 2014 +0100
Cleanup
---
plugins/actions/actions.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/actions/actions.c b/plugins/actions/actions.c
index f590369..4a5dde4 100644
--- a/plugins/actions/actions.c
+++ b/plugins/actions/actions.c
@@ -1252,10 +1252,10 @@ actions_plugin_menu (GtkWidget *button,
ActionType allowed_types;
panel_return_if_fail (XFCE_IS_ACTIONS_PLUGIN (plugin));
+ panel_return_if_fail (button != NULL);
- // do not popup the menu if the button is being toggled off
- if (button != NULL
- && !gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON (button)))
+ /* do not popup the menu if the button is being toggled off */
+ if (!gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)))
return;
if (plugin->menu == NULL)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list