[gimp] Revert part of commit c8853243ea630e829ce659bcacc90b9a6eb9c7db



commit fa628b580a634373d8d04e4f2b086b34940a15eb
Author: Sven Neumann <sven gimp org>
Date:   Sun Sep 20 20:34:32 2009 +0200

    Revert part of commit c8853243ea630e829ce659bcacc90b9a6eb9c7db
    
    g_str_equal() is a hash function and should not be used instead of
    strcmp() as it doesn't provide a proper signature.

 app/gui/session.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/gui/session.c b/app/gui/session.c
index ed457b5..408fa36 100644
--- a/app/gui/session.c
+++ b/app/gui/session.c
@@ -152,7 +152,7 @@ session_init (Gimp *gimp)
                * entries and don't have any dialog factory entry, so
                * don't bother looking for entires for them
                */
-              if (!g_str_equal (entry_name, "dock"))
+              if (strcmp (entry_name, "dock"))
                 {
                   GimpDialogFactoryEntry *entry =
                     gimp_dialog_factory_find_entry (factory,



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