summaryrefslogtreecommitdiff
path: root/gconf/gconf-database.c
diff options
context:
space:
mode:
Diffstat (limited to 'gconf/gconf-database.c')
-rw-r--r--gconf/gconf-database.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gconf/gconf-database.c b/gconf/gconf-database.c
index 63dfc085..91fc6120 100644
--- a/gconf/gconf-database.c
+++ b/gconf/gconf-database.c
@@ -797,14 +797,14 @@ gconf_database_set_sources (GConfDatabase *db,
{
if (db->sources != NULL)
{
-#ifdef HAVE_CORBA
/* this function should only be used when creating the db with the corba
* backend */
- g_assert_not_reached ();
-#endif
-
+#ifdef HAVE_CORBA
gconf_sources_clear_cache(db->sources);
gconf_sources_free(db->sources);
+#else
+ g_assert_not_reached ();
+#endif
}
db->sources = sources;