[gimp] app: ! has higher precedence than ==, use != instead



commit 8115467b651265ca45c789b79123e52a2591ddaf
Author: Mikael Magnusson <mikachu src gnome org>
Date:   Sun Jun 16 01:34:23 2013 +0200

    app: ! has higher precedence than ==, use != instead
    
    Found by coverity

 app/widgets/gimpdockbook.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpdockbook.c b/app/widgets/gimpdockbook.c
index 4662c3f..795c5ca 100644
--- a/app/widgets/gimpdockbook.c
+++ b/app/widgets/gimpdockbook.c
@@ -1312,7 +1312,7 @@ gimp_dockbook_recreate_tab_widgets (GimpDockbook *dockbook,
       GtkWidget *tab_widget;
 
       if (only_auto &&
-          ! gimp_dockable_get_tab_style (dockable) == GIMP_TAB_STYLE_AUTOMATIC)
+          gimp_dockable_get_tab_style (dockable) != GIMP_TAB_STYLE_AUTOMATIC)
         continue;
 
       tab_widget = gimp_dockbook_create_tab_widget (dockbook, dockable);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]