[Xfce4-commits] <xfconf:master> Fix indentation from pervious commit.

Nick Schermer noreply at xfce.org
Mon Jan 25 12:14:04 CET 2010


Updating branch refs/heads/master
         to c2cd125e1525e287802bea19449e0693e0b01082 (commit)
       from 2c92f17925395ec33c1aa38730c07e7bec0db101 (commit)

commit c2cd125e1525e287802bea19449e0693e0b01082
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Jan 25 12:12:55 2010 +0100

    Fix indentation from pervious commit.
    
    Also use the define maximum patch length.

 xfconfd/xfconf-backend-perchannel-xml.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/xfconfd/xfconf-backend-perchannel-xml.c b/xfconfd/xfconf-backend-perchannel-xml.c
index 3a0fbea..2df722e 100644
--- a/xfconfd/xfconf-backend-perchannel-xml.c
+++ b/xfconfd/xfconf-backend-perchannel-xml.c
@@ -542,7 +542,7 @@ nodes_do_prop_reset(GNode *node,
 {
     PropChangeData *pdata = data;
     XfconfProperty *prop = node->data;
-    gchar prop_fullname[4096];
+    gchar prop_fullname[MAX_PROP_PATH];
 
 
     /* we don't signal if |value| isn't set but |system_value| is,
@@ -563,15 +563,15 @@ nodes_do_prop_reset(GNode *node,
 }
 
 static gboolean
-nodes_clean_up (GNode *node,
-                gpointer data)
+nodes_clean_up(GNode *node,
+               gpointer data)
 {
     XfconfProperty *prop = node->data;
 
     /* clean up dangling nodes in tree without system defaults */
     if(!node->children
-       && !G_VALUE_TYPE (&prop->value)
-       && !G_VALUE_TYPE (&prop->system_value)
+       && !G_VALUE_TYPE(&prop->value)
+       && !G_VALUE_TYPE(&prop->system_value)
        && !prop->locked) {
         g_node_unlink(node);
         xfconf_proptree_destroy(node);



More information about the Xfce4-commits mailing list