summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/evbp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/evbp.c b/src/evbp.c
index 849e3fc..fab3838 100644
--- a/src/evbp.c
+++ b/src/evbp.c
@@ -209,6 +209,8 @@ evbp_set_window(NPP instance, NPWindow *window)
g_debug("plugging into window id %lu", (unsigned long)id);
priv->plug = gtk_plug_new(id);
+ gtk_widget_set_size_request(priv->plug, window->width,
+ window->height);
gtk_container_add(GTK_CONTAINER(priv->plug), priv->viewer);
gtk_widget_show(priv->plug);
}