[monkey-bubble: 258/753] Use the new bonobo-property-bag-client API.
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 258/753] Use the new bonobo-property-bag-client API.
- Date: Wed, 14 Jul 2010 22:17:20 +0000 (UTC)
commit 8601dc7ebbb7a9fa304a51a30efcc2288b35e7e2
Author: Martin Baulig <baulig suse de>
Date: Sun May 6 09:19:08 2001 +0000
Use the new bonobo-property-bag-client API.
2001-05-06 Martin Baulig <baulig suse de>
* gnome-preferences.c: Use the new bonobo-property-bag-client API.
libgnome/ChangeLog | 4 ++++
libgnome/gnome-init.h | 2 +-
libgnome/gnome-preferences.c | 6 +++---
3 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/libgnome/ChangeLog b/libgnome/ChangeLog
index 3aefe39..d3a6d55 100644
--- a/libgnome/ChangeLog
+++ b/libgnome/ChangeLog
@@ -1,3 +1,7 @@
+2001-05-06 Martin Baulig <baulig suse de>
+
+ * gnome-preferences.c: Use the new bonobo-property-bag-client API.
+
2001-05-03 Martin Baulig <baulig suse de>
* gnome-file-selector.[ch]: Moved here from libgnomeui.
diff --git a/libgnome/gnome-init.h b/libgnome/gnome-init.h
index 8c148fd..5e62b07 100644
--- a/libgnome/gnome-init.h
+++ b/libgnome/gnome-init.h
@@ -28,7 +28,7 @@
#include <libgnome/gnome-program.h>
-#include <bonobo/bonobo-config-database.h>
+#include <bonobo/Bonobo.h>
G_BEGIN_DECLS
diff --git a/libgnome/gnome-preferences.c b/libgnome/gnome-preferences.c
index 155a711..6a8417d 100644
--- a/libgnome/gnome-preferences.c
+++ b/libgnome/gnome-preferences.c
@@ -20,7 +20,7 @@
#include <config.h>
#include <libgnome/gnome-preferences.h>
#include <libgnome/libgnome-init.h>
-#include <bonobo/bonobo-config-database.h>
+#include <bonobo/bonobo-property-bag-client.h>
#include <string.h>
static gboolean
@@ -32,7 +32,7 @@ desktop_property_get_boolean (const gchar *name)
if (cb == CORBA_OBJECT_NIL)
return FALSE;
- return bonobo_config_get_boolean (cb, name, NULL);
+ return bonobo_pbclient_get_boolean (cb, name, NULL);
}
static void
@@ -44,7 +44,7 @@ desktop_property_set_boolean (const gchar *name, gboolean value)
if (cb == CORBA_OBJECT_NIL)
return;
- bonobo_config_set_boolean (cb, name, value, NULL);
+ bonobo_pbclient_set_boolean (cb, name, value, NULL);
}
#define DEFINE_DESKTOP_PROP_BOOLEAN(c_name, prop_name) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]