[monkey-bubble: 230/753] Use the Bonobo UI API.
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 230/753] Use the Bonobo UI API.
- Date: Wed, 14 Jul 2010 22:14:59 +0000 (UTC)
commit 5c13309efe63927704af62af40ebfe8b0eda124d
Author: Martin Baulig <baulig suse de>
Date: Sun Apr 29 17:34:32 2001 +0000
Use the Bonobo UI API.
2001-04-29 Martin Baulig <baulig suse de>
* selector_demo.c: Use the Bonobo UI API.
* winhints_demo.c: Use BonoboWindow, not GnomeApp.
* dock_demo.c: Removed; this is now in libbonoboui.
demos/ChangeLog | 8 ++
demos/Makefile.am | 3 -
demos/dock_demo.c | 194 -------------------------------------------------
demos/winhints_demo.c | 5 +-
4 files changed, 11 insertions(+), 199 deletions(-)
---
diff --git a/demos/ChangeLog b/demos/ChangeLog
index eb0de08..be3f677 100644
--- a/demos/ChangeLog
+++ b/demos/ChangeLog
@@ -1,5 +1,13 @@
2001-04-29 Martin Baulig <baulig suse de>
+ * selector_demo.c: Use the Bonobo UI API.
+
+ * winhints_demo.c: Use BonoboWindow, not GnomeApp.
+
+ * dock_demo.c: Removed; this is now in libbonoboui.
+
+2001-04-29 Martin Baulig <baulig suse de>
+
* Makefile.am: Temporarily diabled mdi_demo until GnomeMDI
is back in libgnomeui.
diff --git a/demos/Makefile.am b/demos/Makefile.am
index 2998dfd..29c1a67 100644
--- a/demos/Makefile.am
+++ b/demos/Makefile.am
@@ -22,7 +22,6 @@ LDADD = \
noinst_PROGRAMS = \
selector_demo \
winhints_demo \
- dock_demo \
animator_demo
EXTRA_PROGRAMS = \
@@ -34,7 +33,5 @@ winhints_demo_SOURCES = winhints_demo.c
animator_demo_SOURCES = animator_demo.c
-dock_demo_SOURCES = dock_demo.c
-
mdi_demo_SOURCES = mdi_demo.c
diff --git a/demos/winhints_demo.c b/demos/winhints_demo.c
index 403b4b5..1f60ab5 100644
--- a/demos/winhints_demo.c
+++ b/demos/winhints_demo.c
@@ -3,6 +3,7 @@
#include <libgnome/gnome-i18n.h>
#include <libgnomeui/libgnomeui.h>
#include <libgnomeui/gnome-winhints.h>
+#include <bonobo/bonobo-win.h>
void layers_cb (GtkWidget *widget, void *data);
@@ -45,7 +46,7 @@ static void prepare_app(void)
GList *tmp_list;
- app = gnome_app_new (_("wmhints-test"), _("winhints-test"));
+ app = bonobo_window_new (_("wmhints-test"), _("winhints-test"));
gtk_widget_realize (app);
gtk_signal_connect (GTK_OBJECT (app), "delete_event",
GTK_SIGNAL_FUNC (quit_cb),
@@ -58,7 +59,7 @@ static void prepare_app(void)
fprintf(stderr, "Your WM does not support GNOME extended hints\n");
mvb=gtk_vbox_new(FALSE, 0);
- gnome_app_set_contents ( GNOME_APP (app), mvb);
+ bonobo_window_set_contents (BONOBO_WINDOW (app), mvb);
gtk_widget_show (mvb);
gtk_widget_realize(app);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]