Shutdown for an XEmbed plug-in
Braden McDaniel <[email protected]> Sun, 18 Apr 2004 23:38:23 -0400
| Newsgroups | gmane.comp.mozilla.devel.gtk |
|---|---|
| Organization | Endoframe |
| Message-ID | <[email protected]> |
I have written a plug-in using XEmbed/GtkPlug as described here: <http://www.mozilla.org/projects/plugins/xembed-plugin-extension.html> Things work well until it's time to call NP_Shutdown. At that point I call gtk_widget_destroy(plug); ... where "plug" is my GtkPlug. This results in the following assertion failure: (Gecko:16484): GLib-GObject-CRITICAL **: file gobject.c: line 1337 (g_object_unref): assertion `G_IS_OBJECT (object)' failed This occurs regardless of whether I have added any widgets to the GtkPlug. I'm using Mozilla 1.6. What's the Right Thing to do here? -- Braden McDaniel e-mail: <[email protected]> <http://endoframe.com> Jabber: <[email protected]>