[at-spi2-atk] Fix build error



commit a01ba9992ad0c33c6c9ba02c4c416a5cf05d68ec
Author: Mike Gorse <mgorse novell com>
Date:   Mon Jan 11 13:04:30 2010 -0500

    Fix build error
    
    Use g_strcmp0 rather than strcmp, since there was no #include for strcmp.

 atk-adaptor/accessible-cache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/atk-adaptor/accessible-cache.c b/atk-adaptor/accessible-cache.c
index c7e27f9..c449657 100644
--- a/atk-adaptor/accessible-cache.c
+++ b/atk-adaptor/accessible-cache.c
@@ -312,7 +312,7 @@ child_added_listener (GSignalInvocationHint * signal_hint,
       if (signal_hint->detail)
         detail = g_quark_to_string (signal_hint->detail);
 
-      if (!strcmp (detail, "add"))
+      if (!g_strcmp0 (detail, "add"))
         {
           gpointer child;
           int index = g_value_get_uint (param_values + 1);



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