summaryrefslogtreecommitdiff
path: root/src/nautilus-spatial-window.c
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@usa.net>2002-04-24 00:38:25 +0000
committerMurray Cumming <murrayc@src.gnome.org>2002-04-24 00:38:25 +0000
commit65d1b6d043083062dd982f8578fe43a60427121e (patch)
tree7655e2e353a398bed8c2082614f2d2288acef07b /src/nautilus-spatial-window.c
parent4427790cef385a67c0733688c1326a5dbc53d4b3 (diff)
downloadnautilus-65d1b6d043083062dd982f8578fe43a60427121e.tar.gz
Now that BonoboWindow has been fixed, it is no longer necessary to create
2002-04-23 Murray Cumming <murrayc@usa.net> * src/nautilus-window.c (nautilus_window_instance_init): Now that BonoboWindow has been fixed, it is no longer necessary to create and set the UIContainer.
Diffstat (limited to 'src/nautilus-spatial-window.c')
-rw-r--r--src/nautilus-spatial-window.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nautilus-spatial-window.c b/src/nautilus-spatial-window.c
index 5d70be9d5..ee38f3646 100644
--- a/src/nautilus-spatial-window.c
+++ b/src/nautilus-spatial-window.c
@@ -173,9 +173,7 @@ nautilus_window_instance_init (NautilusWindow *window)
window->details = g_new0 (NautilusWindowDetails, 1);
/* CORBA and Bonobo setup, which must be done before the location bar setup */
- window->details->ui_container = bonobo_ui_container_new ();
- bonobo_ui_container_set_engine (window->details->ui_container,
- bonobo_window_get_ui_engine (BONOBO_WINDOW (window)));
+ window->details->ui_container = bonobo_window_get_ui_container (BONOBO_WINDOW (window));
window->details->tooltips = gtk_tooltips_new ();
g_object_ref (G_OBJECT (window->details->tooltips));