summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Stachowiak <mstachow@src.gnome.org>2001-01-30 23:34:53 +0000
committerMaciej Stachowiak <mstachow@src.gnome.org>2001-01-30 23:34:53 +0000
commitedae91040b70946835a400d14881f4c2af37e9a2 (patch)
tree58bc99351f33446a511d0de5d50d88a7caff295e
parent38fc7f36e9bc8c3e7c09207669f3dfe943b8faa0 (diff)
downloadnautilus-edae91040b70946835a400d14881f4c2af37e9a2.tar.gz
reviewed by: Gene Z. Ragan <gzr@eazel.com>
* components/tree/libmain.c: (tree_shlib_object_destroyed): Removed accidentally checked in call to `oaf_plugin_unuse' to fix bug 6154 (creating new window after closing initial window crashes creating tree view). It's not actually safe to unload a shared library that declares a GtkType because it makes Gtk unhappy.
-rw-r--r--ChangeLog10
-rw-r--r--components/tree/libmain.c3
2 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 332d86ab8..5a98d9fb6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2001-01-30 Maciej Stachowiak <mjs@eazel.com>
+
+ reviewed by: Gene Z. Ragan <gzr@eazel.com>
+
+ * components/tree/libmain.c: (tree_shlib_object_destroyed):
+ Removed accidentally checked in call to `oaf_plugin_unuse' to fix
+ bug 6154 (creating new window after closing initial window crashes
+ creating tree view). It's not actually safe to unload a shared
+ library that declares a GtkType because it makes Gtk unhappy.
+
2001-01-30 Ramiro Estrugo <ramiro@eazel.com>
reviewed by: Michael Engber <engber@eazel.com>
diff --git a/components/tree/libmain.c b/components/tree/libmain.c
index 11395f9c8..9f9081e65 100644
--- a/components/tree/libmain.c
+++ b/components/tree/libmain.c
@@ -40,8 +40,9 @@ static void
tree_shlib_object_destroyed (GtkObject *object)
{
/* FIXME bugzilla.eazel.com 2736: oaf_plugin_unuse can't possibly work! this sucks */
-
+#if 0
oaf_plugin_unuse (gtk_object_get_user_data (object));
+#endif
}