summaryrefslogtreecommitdiff
path: root/src/nautilus-shell.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2006-11-03 16:34:12 +0000
committerAlexander Larsson <alexl@src.gnome.org>2006-11-03 16:34:12 +0000
commit11ad437c16fa21885b19a1ce9b9ab77ed39608da (patch)
treea5566dadc53ee0633529bd58c8add5b8bbec5508 /src/nautilus-shell.h
parent01784c45de098691507a1abf7b68195bd2ebd545 (diff)
downloadnautilus-11ad437c16fa21885b19a1ce9b9ab77ed39608da.tar.gz
Always use the in-process metafile factory. We don't need it oop, since
2006-11-03 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-directory-metafile.c: Always use the in-process metafile factory. We don't need it oop, since nautilus is single process these days. This fixes some strange races with bonobo-activation that caused #351713 * src/nautilus-application.[ch]: * src/nautilus-shell.h: Change the way we use bonobo-activation to get the NautilusShell so that we don't rely on bonobo-activation-server to spawn nautilus, as this could lead to some strange duplicate processes. We now directly try to register the app-wide shell object with bonobo-activation manually and activate it with Bonobo_ACTIVATION_FLAG_EXISTING_ONLY. * src/nautilus-shell.c: Handle all corba calls from the NautilusShell in an idle handler. This fixes some crashes where we reentered badly into e.g. quit when calling gconf. * src/nautilus-main.c: Since we now handle the initial open_window shell calls via an idle we need to delay until idle time to know if we can quit or not.
Diffstat (limited to 'src/nautilus-shell.h')
-rw-r--r--src/nautilus-shell.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nautilus-shell.h b/src/nautilus-shell.h
index 634871cef..50750c162 100644
--- a/src/nautilus-shell.h
+++ b/src/nautilus-shell.h
@@ -39,10 +39,10 @@
typedef struct NautilusShellDetails NautilusShellDetails;
-typedef struct {
+struct NautilusShell {
BonoboObject parent_slot;
NautilusShellDetails *details;
-} NautilusShell;
+};
typedef struct {
BonoboObjectClass parent_slot;