diff options
author | Nick Schermer <nick@xfce.org> | 2010-02-02 17:21:13 +0100 |
---|---|---|
committer | Nick Schermer <nick@xfce.org> | 2010-02-02 17:21:13 +0100 |
commit | 78136f59da5ffb1337a2c5a4b2649f12d00947a5 (patch) | |
tree | b5b8dce38cdfb997b1d97f0a92695e5c0994c49b /xfconfd | |
parent | 262bf1158d9929d4ccd61699503ae5cf0daf239d (diff) | |
download | xfconf-78136f59da5ffb1337a2c5a4b2649f12d00947a5.tar.gz |
Use g_strsplit instead of g_strsplit_set.
Because we only use 1 delimiter, g_strsplit is a better
option. It is also faster internally with is nice because
xfconf_proptree_lookup_node() is the most called function
in xfconfd.
Diffstat (limited to 'xfconfd')
-rw-r--r-- | xfconfd/xfconf-backend-perchannel-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfconfd/xfconf-backend-perchannel-xml.c b/xfconfd/xfconf-backend-perchannel-xml.c index f45f0f9..9bd091d 100644 --- a/xfconfd/xfconf-backend-perchannel-xml.c +++ b/xfconfd/xfconf-backend-perchannel-xml.c @@ -796,7 +796,7 @@ xfconf_proptree_lookup_node(GNode *proptree, g_return_val_if_fail(PROP_NAME_IS_VALID(name), NULL); - parts = g_strsplit_set(name+1, "/", -1); + parts = g_strsplit(name+1, "/", -1); parent = proptree; for(i = 0; parts[i]; ++i) { |