This->exists = TRUE;
makeWidget(PluginInstance *This){    GtkWidget *dialogWindow;    GtkWidget *dialogMessage;    GtkWidget *okButton;    GtkWidget *cancelButton;    char message[1024];    if (!This) return;    dialogWindow = gtk_dialog_new();    This->dialogBox = dialogWindow;    gtk_window_set_title(GTK_WINDOW(dialogWindow), PLUGIN_NAME);    /* gtk_window_set_position(GTK_WINDOW(dialogWindow), GTK_WIN_POS_CENTER); */    gtk_window_set_modal(GTK_WINDOW(dialogWindow), TRUE);    gtk_container_set_border_width(GTK_CONTAINER(dialogWindow), 0);    PR_snprintf(message, sizeof(message) - 1, MESSAGE, This->type);    dialogMessage = AddWidget(gtk_label_new (message),                    GTK_DIALOG(dialogWindow)->vbox);    okButton= AddWidget(gtk_button_new_with_label (OK_BUTTON),                    GTK_DIALOG(dialogWindow)->action_area);    gtk_object_set_data(GTK_OBJECT(okButton), DIALOGID, dialogWindow);    cancelButton= AddWidget(gtk_button_new_with_label (CANCEL_BUTTON),                    GTK_DIALOG(dialogWindow)->action_area);    gtk_signal_connect (GTK_OBJECT(okButton),  "clicked",                        GTK_SIGNAL_FUNC(DialogOKClicked), This);    gtk_signal_connect (GTK_OBJECT(cancelButton),  "clicked",                        GTK_SIGNAL_FUNC(DialogCancelClicked), dialogWindow);    /* need to check whether we already pop up a dialog box for previous       minetype in the same web page. It's require otherwise there will       be 2 dialog boxes pop if there are 2 plugin in the same web page */    if (addToList(&head, This->type)) {         gtk_widget_show_all(dialogWindow);    } }