diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-07-10 02:32:39 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-07-10 02:32:39 +0800 |
commit | 02bab66ab2a1ae33a42478ccd1332010b00b025a (patch) | |
tree | e6d79edf7adcfcf97cf98b73c2a75b0f888f703f /devel/gconf2/files/patch-gconf_gconftool.c | |
parent | 5f3e0b517578ab0075bf686f77fa56e00450f6cf (diff) | |
download | marcuscom-ports-02bab66ab2a1ae33a42478ccd1332010b00b025a.tar marcuscom-ports-02bab66ab2a1ae33a42478ccd1332010b00b025a.tar.gz marcuscom-ports-02bab66ab2a1ae33a42478ccd1332010b00b025a.tar.bz2 marcuscom-ports-02bab66ab2a1ae33a42478ccd1332010b00b025a.tar.lz marcuscom-ports-02bab66ab2a1ae33a42478ccd1332010b00b025a.tar.xz marcuscom-ports-02bab66ab2a1ae33a42478ccd1332010b00b025a.tar.zst marcuscom-ports-02bab66ab2a1ae33a42478ccd1332010b00b025a.zip |
Update to 2.7.3.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2472 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gconf2/files/patch-gconf_gconftool.c')
-rw-r--r-- | devel/gconf2/files/patch-gconf_gconftool.c | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/devel/gconf2/files/patch-gconf_gconftool.c b/devel/gconf2/files/patch-gconf_gconftool.c deleted file mode 100644 index aca7c9e02..000000000 --- a/devel/gconf2/files/patch-gconf_gconftool.c +++ /dev/null @@ -1,89 +0,0 @@ ---- gconf/gconftool.c.orig Sun Jul 4 11:15:23 2004 -+++ gconf/gconftool.c Thu Jul 8 17:23:03 2004 -@@ -460,8 +460,7 @@ - - static int do_break_key(GConfEngine* conf, const gchar** args); - static int do_break_directory(GConfEngine* conf, const gchar** args); --static int do_makefile_install(GConfEngine* conf, const gchar** args); --static int do_makefile_uninstall(GConfEngine* conf, const gchar** args); -+static int do_makefile_install(GConfEngine* conf, const gchar** args, gboolean unload); - static int do_recursive_list(GConfEngine* conf, const gchar** args); - static int do_dump_values(GConfEngine* conf, const gchar** args); - static int do_all_pairs(GConfEngine* conf, const gchar** args); -@@ -888,7 +887,7 @@ - if (makefile_install_mode) - { - const gchar** args = poptGetArgs(ctx); -- gint retval = do_makefile_install (conf, args); -+ gint retval = do_makefile_install (conf, args, FALSE); - - gconf_engine_unref (conf); - -@@ -898,7 +897,7 @@ - if (makefile_uninstall_mode) - { - const gchar** args = poptGetArgs(ctx); -- gint retval = do_makefile_uninstall (conf, args); -+ gint retval = do_makefile_install (conf, args, TRUE); - - gconf_engine_unref (conf); - -@@ -3381,7 +3380,7 @@ - { - GError* error = NULL; - -- if (!gconf_engine_associate_schema(conf, tmp->data, unload ? schema_name : NULL, &error)) -+ if (!gconf_engine_associate_schema(conf, tmp->data, !unload ? schema_name : NULL, &error)) - { - g_assert(error != NULL); - -@@ -3708,7 +3707,7 @@ - } - - static int --do_makefile_install(GConfEngine* conf, const gchar** args) -+do_makefile_install(GConfEngine* conf, const gchar** args, gboolean unload) - { - GError* err = NULL; - -@@ -3720,39 +3719,7 @@ - - while (*args) - { -- if (do_load_file(conf, LOAD_SCHEMA_FILE, FALSE, *args, NULL) != 0) -- return 1; -- -- ++args; -- } -- -- gconf_engine_suggest_sync(conf, &err); -- -- if (err != NULL) -- { -- g_printerr (_("Error syncing config data: %s"), -- err->message); -- g_error_free(err); -- return 1; -- } -- -- return 0; --} -- --static int --do_makefile_uninstall(GConfEngine* conf, const gchar** args) --{ -- GError* err = NULL; -- -- if (args == NULL) -- { -- g_printerr (_("Must specify some schema files to uninstall\n")); -- return 1; -- } -- -- while (*args) -- { -- if (do_load_file(conf, LOAD_SCHEMA_FILE, TRUE, *args, NULL) != 0) -+ if (do_load_file(conf, LOAD_SCHEMA_FILE, unload, *args, NULL) != 0) - return 1; - - ++args; |