[Xfce4-commits] <xfwm4:master> Fix compiler warning in gcc 4.8.

Nick Schermer noreply at xfce.org
Wed May 8 21:18:01 CEST 2013


Updating branch refs/heads/master
         to 703bd36d23974c195ff0877c13b5bcfc2d56623c (commit)
       from 18ef39067745146ad5e4ca70961dcdae0bd723a1 (commit)

commit 703bd36d23974c195ff0877c13b5bcfc2d56623c
Author: Nick Schermer <nick at xfce.org>
Date:   Wed May 8 21:08:03 2013 +0200

    Fix compiler warning in gcc 4.8.

 settings-dialogs/xfwm4-settings.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/settings-dialogs/xfwm4-settings.c b/settings-dialogs/xfwm4-settings.c
index 4f284d3..aeee962 100644
--- a/settings-dialogs/xfwm4-settings.c
+++ b/settings-dialogs/xfwm4-settings.c
@@ -1635,7 +1635,7 @@ xfwm_settings_initialize_shortcuts (XfwmSettings *settings)
 
   gtk_list_store_clear (GTK_LIST_STORE (model));
 
-  if (feature_list = xfce_shortcuts_xfwm4_get_feature_list ())
+  if ((feature_list = xfce_shortcuts_xfwm4_get_feature_list ()) != NULL)
     {
       GList *l;
 


More information about the Xfce4-commits mailing list