aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-embed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/mozilla-embed.cpp')
-rw-r--r--embed/mozilla/mozilla-embed.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp
index 4a33a80ff..14a62ff46 100644
--- a/embed/mozilla/mozilla-embed.cpp
+++ b/embed/mozilla/mozilla-embed.cpp
@@ -1078,11 +1078,13 @@ mozilla_embed_new_window_cb (GtkMozEmbed *embed,
}
}
- g_signal_emit_by_name (membed, "ge_new_window", &new_embed, mask);
+ g_signal_emit_by_name (membed, "ge_new_window", mask, &new_embed);
g_assert (new_embed != NULL);
-
- *newEmbed = GTK_MOZ_EMBED(new_embed);
+
+ gtk_moz_embed_set_chrome_mask (GTK_MOZ_EMBED (new_embed), chrome_mask);
+
+ *newEmbed = GTK_MOZ_EMBED (new_embed);
}
static void