summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2000-07-12 05:46:52 +0000
committerHavoc Pennington <hp@src.gnome.org>2000-07-12 05:46:52 +0000
commitb73d1de20154d3c62ab2b12f3d131e8acfe8e4e5 (patch)
treeca6fb50274915908cf2adabef41ba537dc4d69d2 /examples
parent6d785b9b8a485f4be978cd87800a1f5876f94ce8 (diff)
downloadgconf-b73d1de20154d3c62ab2b12f3d131e8acfe8e4e5.tar.gz
Bump library versions, bump to 0.6
2000-07-12 Havoc Pennington <hp@pobox.com> * configure.in: Bump library versions, bump to 0.6 * gconf/gconf.c (gconf_engine_get_local): Rename from gconf_engine_new_local (gconf_engine_get_default): rename from gconf_engine_new (gconf_engine_get_for_address): rename from gconf_engine_new_from_address * wrappers/gtk/gconf-client.c (gconf_client_get_default): rename from gconf_client_new. Always sink the client, so we are strictly refcounted, no floating state (for future GObject compatibility) (gconf_client_get_for_engine): rename from gconf_client_new_with_engine
Diffstat (limited to 'examples')
-rw-r--r--examples/basic-gconf-app.c2
-rw-r--r--examples/simple-controller.c2
-rw-r--r--examples/simple-view.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/basic-gconf-app.c b/examples/basic-gconf-app.c
index 9b2113c2..c9eeb06e 100644
--- a/examples/basic-gconf-app.c
+++ b/examples/basic-gconf-app.c
@@ -71,7 +71,7 @@ main(int argc, char** argv)
g_assert(error == NULL);
- client = gconf_client_new();
+ client = gconf_client_get_default();
gconf_client_add_dir(client, "/apps/basic-gconf-app", GCONF_CLIENT_PRELOAD_NONE, NULL);
diff --git a/examples/simple-controller.c b/examples/simple-controller.c
index 8a1af148..3ecec907 100644
--- a/examples/simple-controller.c
+++ b/examples/simple-controller.c
@@ -56,7 +56,7 @@ main(int argc, char** argv)
gtk_container_add(GTK_CONTAINER(window), entry);
- client = gconf_client_new();
+ client = gconf_client_get_default();
gconf_client_add_dir(client,
"/extra/test/directory",
diff --git a/examples/simple-view.c b/examples/simple-view.c
index dc787e67..08f8009d 100644
--- a/examples/simple-view.c
+++ b/examples/simple-view.c
@@ -64,7 +64,7 @@ main(int argc, char** argv)
gtk_init(&argc, &argv);
gconf_init(argc, argv, NULL);
- client = gconf_client_new();
+ client = gconf_client_get_default();
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);