[Xfce4-commits] [xfce/xfce4-panel] 29/73: Cleanup
noreply at xfce.org
noreply at xfce.org
Sun Feb 26 16:34:10 CET 2017
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 e16f882a2dc068af87e4765b2d00c0bfae42802a
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 47d77d2..d031bb1 100644
--- a/plugins/actions/actions.c
+++ b/plugins/actions/actions.c
@@ -1255,10 +1255,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