| 153 PurplePlugin *plugin = data; |
153 PurplePlugin *plugin = data; |
| 154 GtkWidget *frame = pidgin_plugin_get_config_frame(plugin), *dialog; |
154 GtkWidget *frame = pidgin_plugin_get_config_frame(plugin), *dialog; |
| 155 if (!frame) |
155 if (!frame) |
| 156 return; |
156 return; |
| 157 |
157 |
| 158 /* GTK_DIALOG_NO_SEPARATOR seems to be gone in gtk+ 3.0... */ |
|
| 159 dialog = gtk_dialog_new_with_buttons(PIDGIN_ALERT_TITLE, NULL, |
158 dialog = gtk_dialog_new_with_buttons(PIDGIN_ALERT_TITLE, NULL, |
| 160 GTK_DIALOG_DESTROY_WITH_PARENT, |
159 GTK_DIALOG_DESTROY_WITH_PARENT, |
| 161 GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, |
160 GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, |
| 162 NULL); |
161 NULL); |
| 163 g_signal_connect_after(G_OBJECT(dialog), "response", G_CALLBACK(gtk_widget_destroy), dialog); |
162 g_signal_connect_after(G_OBJECT(dialog), "response", G_CALLBACK(gtk_widget_destroy), dialog); |