summaryrefslogtreecommitdiff
path: root/components/image-viewer
diff options
context:
space:
mode:
authorMaciej Stachowiak <mstachow@src.gnome.org>2001-01-23 12:08:41 +0000
committerMaciej Stachowiak <mstachow@src.gnome.org>2001-01-23 12:08:41 +0000
commit3e3deab1d3ca376c6f5ded2a6c10c92aef9a77e1 (patch)
tree7e0d7b8f1f69d6f95bbe0617351185baa7e8c14e /components/image-viewer
parenta01aa117c465fd00267361c29d6bb27d45ab5265 (diff)
downloadnautilus-3e3deab1d3ca376c6f5ded2a6c10c92aef9a77e1.tar.gz
reviewed by: Pavel Cisler <pavel@eazel.com>
Fixed bug 5943 (Throbber crashes on nautilus startup (crashing Nautilus) with some themes and configurations) * components/help/hyperbola-main.c: (main): * components/image-viewer/nautilus-image-view.c: (init_server_factory): * components/mozilla/main.c: (main): * components/music/main.c: (main): * components/notes/nautilus-notes.c: (main): * components/services/install/nautilus-view/main.c: (main): * components/services/login/nautilus-view/main.c: (main): * components/services/summary/nautilus-view/main.c: (main): * components/shell/shell.c: * components/text/main.c: (main): * components/throbber/main.c: (main): * components/tree/main.c: (main): * libnautilus/nautilus-view-standard-main.c: (nautilus_view_standard_main_multi): * nautilus-installer/src/main.c: (main): * src/nautilus-main.c: (main): Added gdk_rgb_init calls. The throbber one was causing a real 100% reproducible crash for me on Nautilus startup, the rest are pre-emptive.
Diffstat (limited to 'components/image-viewer')
-rw-r--r--components/image-viewer/nautilus-image-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/image-viewer/nautilus-image-view.c b/components/image-viewer/nautilus-image-view.c
index 29dde29bd..f6b7df3a2 100644
--- a/components/image-viewer/nautilus-image-view.c
+++ b/components/image-viewer/nautilus-image-view.c
@@ -823,6 +823,8 @@ init_server_factory (int argc, char **argv)
gnome_init_with_popt_table("bonobo-image-generic", VERSION,
argc, argv,
oaf_popt_options, 0, NULL);
+ gdk_rgb_init ();
+
oaf_init (argc, argv);
if (!bonobo_init (CORBA_OBJECT_NIL, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL))