Updating branch refs/heads/jeromeg/settings-editor
         to 70e7233253ed3ad256fefc6035cb30e9bbb39596 (commit)
       from 87e5ba786499287d89921553cbda082d2629e6a9 (commit)

commit 70e7233253ed3ad256fefc6035cb30e9bbb39596
Author: Nick Schermer <[email protected]>
Date:   Tue Jan 19 19:12:17 2010 +0100

    Use g_strcmp0 instead of strcmp.

 xfce4-settings-editor/main_window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xfce4-settings-editor/main_window.c 
b/xfce4-settings-editor/main_window.c
index c36a810..cf905f8 100644
--- a/xfce4-settings-editor/main_window.c
+++ b/xfce4-settings-editor/main_window.c
@@ -366,7 +366,7 @@ load_properties (XfconfChannel *channel, GtkTreeStore 
*store, GtkTreeView *treev
                     {
                         /* Check if the component already exists, if so, 
return this child */
                         gtk_tree_model_get_value (GTK_TREE_MODEL(store), 
&child_iter, 0, &parent_val);
-                        if (!strcmp (components[i], g_value_get_string 
(&parent_val)))
+                        if (!g_strcmp0 (components[i], g_value_get_string 
(&parent_val)))
                         {
                             GValue current_parent_value = {0, };
 
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to