Bug #180841. gtk2-specific call can sometimes crash gtk1.2 embedding widget. patch from philipl@mail.utexas.edu. r+sr=blizzard

This commit is contained in:
blizzard%redhat.com 2003-04-06 18:58:50 +00:00
parent 3394bd5194
commit 147f56fbc0

View File

@ -486,7 +486,9 @@ gtk_moz_embed_init(GtkMozEmbed *embed)
embed->data = priv;
gtk_widget_set_name(GTK_WIDGET(embed), "gtkmozembed");
#ifdef MOZ_WIDGET_GTK2
GTK_WIDGET_UNSET_FLAGS(GTK_WIDGET(embed), GTK_NO_WINDOW);
#endif
}
GtkWidget *