makePixmap(This); makeWidget(This);
if (This->exists != TRUE) { This->exists = FALSE; makeWidget(This); }
NPP_SetWindow(NPP instance, NPWindow* window){    PluginInstance* This;    NPSetWindowCallbackStruct *ws_info;    if (instance == NULL)        return NPERR_INVALID_INSTANCE_ERROR;    This = (PluginInstance*) instance->pdata;    if (This == NULL)        return NPERR_INVALID_INSTANCE_ERROR;    ws_info = (NPSetWindowCallbackStruct *)window->ws_info;    if (This->window == (Window) window->window) {        /* The page with the plugin is being resized.           Save any UI information because the next time           around expect a SetWindow with a new window           id.        */#ifdef DEBUG        fprintf(stderr, "Nullplugin: plugin received window resize.\n");        fprintf(stderr, "Window=(%i)\n", (int)window);        if (window) {           fprintf(stderr, "W=(%i) H=(%i)\n",               (int)window->width, (int)window->height);        }#endif        return NPERR_NO_ERROR;    } else {      This->window = (Window) window->window;      This->x = window->x;      This->y = window->y;      This->width = window->width;      This->height = window->height;      This->display = ws_info->display;      This->visual = ws_info->visual;      This->depth = ws_info->depth;      This->colormap = ws_info->colormap;      makePixmap(This);      makeWidget(This);    }    return NPERR_NO_ERROR;}