Bug 397992 Gtk-CRITICAL assertion `GTK_IS_WIDGET (widget)' failed at exit Firefox r+sr+a=roc

This commit is contained in:
ginn.chen@sun.com 2007-10-02 03:07:17 -07:00
parent 62a821b7cc
commit f42510958f

View File

@ -185,6 +185,9 @@ nsresult nsPluginNativeWindowGtk2::CreateXEmbedWindow() {
g_signal_connect(mSocketWidget, "plug_removed",
G_CALLBACK(plug_removed_cb), NULL);
g_signal_connect(mGtkSocket, "destroy",
GTK_SIGNAL_FUNC(gtk_widget_destroyed), &mGtkSocket);
gpointer user_data = NULL;
gdk_window_get_user_data(parent_win, &user_data);