[Xfce4-commits] <xfdesktop:master> Tiny improvement on previous commit.

Nick Schermer noreply at xfce.org
Thu Dec 9 20:28:01 CET 2010


Updating branch refs/heads/master
         to 6adbf8c9dd6d19206007c9e82ea211322ebae784 (commit)
       from 8ad257bf053c0b6842d85c5bd1f08e35e4659c37 (commit)

commit 6adbf8c9dd6d19206007c9e82ea211322ebae784
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Dec 9 20:26:38 2010 +0100

    Tiny improvement on previous commit.

 src/xfdesktop-app-menu-item.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/xfdesktop-app-menu-item.c b/src/xfdesktop-app-menu-item.c
index 58ab6f9..3722c51 100644
--- a/src/xfdesktop-app-menu-item.c
+++ b/src/xfdesktop-app-menu-item.c
@@ -251,7 +251,7 @@ xfdesktop_app_menu_item_changed(XfdesktopAppMenuItem *app_menu_item)
         gtk_widget_show(child);
     } else {
         g_return_if_fail(GTK_IS_LABEL(child));
-        gtk_label_set_text (GTK_LABEL (child), label ? label : "");
+        gtk_label_set_text(GTK_LABEL(child), label);
     }
 #endif
 }



More information about the Xfce4-commits mailing list