diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/evbp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } |