Duplication of GConfEngine code?



Hi,

I was looking throught the GConf source code and was wondering does this:

gconf_engine_commit_change_set(gconf_engine_get_default(), cs, remove_committed, &error);

do the same thing as this:

gconf_client_commit_change_set(client, cs, remove_committed, &error);

given that gconf_engine_get_default() is the GConfEngine GConfClient uses anyway. The only difference seems the be calls to trace(), PUSH_USE_ENGINE() and POP_USE_ENGINE() in gconf_client_set(). Couldn't the coding be minimized by having gconf_client_commit_change_set() call gconf_engine_commit_change_set();

Jeff Franks.




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