[monkey-bubble: 222/753] Use BonoboWindow, not GnomeApp.



commit fc72ca1d2755f3f56f60d3a25b14b29bf2e667a0
Author: Martin Baulig <baulig suse de>
Date:   Sun Apr 29 16:18:51 2001 +0000

    Use BonoboWindow, not GnomeApp.
    
    2001-04-29  Martin Baulig  <baulig suse de>
    
    	* gnome-ditem.c: Use BonoboWindow, not GnomeApp.

 libgnomeui/ChangeLog          |    4 ++++
 libgnomeui/gnome-ditem-edit.c |   10 ++++------
 2 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/libgnomeui/ChangeLog b/libgnomeui/ChangeLog
index f50f1f0..164d4a5 100644
--- a/libgnomeui/ChangeLog
+++ b/libgnomeui/ChangeLog
@@ -1,5 +1,9 @@
 2001-04-29  Martin Baulig  <baulig suse de>
 
+	* gnome-ditem.c: Use BonoboWindow, not GnomeApp.
+
+2001-04-29  Martin Baulig  <baulig suse de>
+
 	Temporarily remove GnomeMDI from the build so that we can
 	get rid of gnome-app.[ch] and gnome-app-helper.[ch].
 
diff --git a/libgnomeui/gnome-ditem-edit.c b/libgnomeui/gnome-ditem-edit.c
index 97f2246..321247c 100644
--- a/libgnomeui/gnome-ditem-edit.c
+++ b/libgnomeui/gnome-ditem-edit.c
@@ -30,17 +30,15 @@
 #include <string.h>
 #include "gnome-ditem-edit.h"
 
-#ifdef NEED_GNOMESUPPORT_H
-# include "gnomesupport.h"
-#endif
 #include <libgnome/gnome-i18n.h>
 
-#include "gnome-stock.h"
 #include "gnome-uidefs.h"
 #include "gnome-pixmap.h"
 #include "gnome-icon-entry.h"
 #include "libgnomeuiP.h"
 
+#include <bonobo/bonobo-win.h>
+
 struct _GnomeDItemEditPrivate {
 	/* use the accessors or just use new_notebook */
         GtkWidget *child1; /* basic */
@@ -1430,11 +1428,11 @@ main(int argc, char * argv[])
 
         gnome_init ("testing ditem edit", NULL, argc, argv, 0, 0);
 
-        app = gnome_app_new("testing ditem edit", "Testing");
+        app = bonobo_window_new("testing ditem edit", "Testing");
 
         notebook = gtk_notebook_new();
 
-        gnome_app_set_contents(GNOME_APP(app), notebook);
+        bonobo_window_set_contents(BONOBO_WINDOW(app), notebook);
 
         dee = gnome_ditem_edit_new(GTK_NOTEBOOK(notebook));
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]