[glade] Replaced strcmp() with g_strcmp0 in glade_eprop_accel_populate_view()



commit f7d2c646af689b910ab0e203057377fef5677e70
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date:   Wed Apr 25 13:06:50 2012 -0300

    Replaced strcmp() with g_strcmp0 in glade_eprop_accel_populate_view()

 plugins/gtk+/glade-accels.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/gtk+/glade-accels.c b/plugins/gtk+/glade-accels.c
index 1834972..3561d41 100644
--- a/plugins/gtk+/glade-accels.c
+++ b/plugins/gtk+/glade-accels.c
@@ -283,7 +283,7 @@ glade_eprop_accel_populate_view (GladeEditorProperty * eprop,
             {
               info = l->data;
 
-              if (strcmp (info->signal, glade_signal_class_get_name (sclass)))
+              if (g_strcmp0 (info->signal, glade_signal_class_get_name (sclass)))
                 continue;
 
               accel_text = gtk_accelerator_name (info->key, info->modifiers);



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