[Xfce4-commits] <xfce4-panel:nick/gtk3> Launcher: wrong assert test.

Andrzej noreply at xfce.org
Wed Apr 10 22:26:02 CEST 2013


Updating branch refs/heads/nick/gtk3
         to b20dbb269408fb97a98de5d62b66bb8da9e08ddc (commit)
       from bc829f7ddb7f4b1cb15db89283c842cbf9c66115 (commit)

commit b20dbb269408fb97a98de5d62b66bb8da9e08ddc
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Wed Apr 10 21:24:40 2013 +0100

    Launcher: wrong assert test.

 plugins/launcher/launcher.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/launcher/launcher.c b/plugins/launcher/launcher.c
index bf5f04f..72d55da 100644
--- a/plugins/launcher/launcher.c
+++ b/plugins/launcher/launcher.c
@@ -2048,7 +2048,7 @@ launcher_plugin_button_draw (GtkWidget      *widget,
   GtkStyleContext  *ctx;
   GtkBorder         padding;
 
-  panel_return_val_if_fail (XFCE_IS_LAUNCHER_PLUGIN (widget), FALSE);
+  panel_return_val_if_fail (XFCE_IS_LAUNCHER_PLUGIN (plugin), FALSE);
 
   /* leave when the arrow is not shown inside the button */
   if (NO_ARROW_INSIDE_BUTTON (plugin))


More information about the Xfce4-commits mailing list