Bug 300129 Allow GTK1 windows to use a default icon r+sr=roc a=asa

git-svn-id: svn://10.0.0.236/trunk@176008 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
neil%parkwaycc.co.uk 2005-07-13 17:00:14 +00:00
parent fe0a878f12
commit d54deb12bb

View File

@ -1907,6 +1907,7 @@ NS_METHOD nsWindow::CreateNative(GtkObject *parentWidget)
mMozArea = gtk_mozarea_new();
gtk_container_add(GTK_CONTAINER(mShell), mMozArea);
gtk_widget_realize(GTK_WIDGET(mMozArea));
SetIcon(NS_LITERAL_STRING("default"));
mSuperWin = GTK_MOZAREA(mMozArea)->superwin;
// set the back pixmap to None so that we don't get a flash of
// black
@ -1957,6 +1958,7 @@ NS_METHOD nsWindow::CreateNative(GtkObject *parentWidget)
mMozArea = gtk_mozarea_new();
gtk_container_add(GTK_CONTAINER(mShell), mMozArea);
gtk_widget_realize(GTK_WIDGET(mMozArea));
SetIcon(NS_LITERAL_STRING("default"));
mSuperWin = GTK_MOZAREA(mMozArea)->superwin;
// set the back pixmap to None so that we don't get a flash of
// black