Mercurial > pidgin.yaz
diff pidgin/gtkrequest.c @ 19814:9d198ce0ab65
Making plugins dialog work
author | Gabriel Schulhof <nix@go-nix.ca> |
---|---|
date | Wed, 08 Aug 2007 19:47:05 +0000 |
parents | 9a31c183b470 |
children | 649f215f069b |
line wrap: on
line diff
--- a/pidgin/gtkrequest.c Wed Aug 08 19:19:48 2007 +0000 +++ b/pidgin/gtkrequest.c Wed Aug 08 19:47:05 2007 +0000 @@ -1048,7 +1048,7 @@ const char *ok_text, GCallback ok_cb, const char *cancel_text, GCallback cancel_cb, PurpleAccount *account, const char *who, PurpleConversation *conv, - void *ui_data, void *user_data) + void *user_data) { PidginRequestData *data; GtkWidget *win; @@ -1062,7 +1062,6 @@ GtkWidget *button; GtkWidget *img; GtkWidget *sw; - GtkWindow *parent = GTK_WINDOW(ui_data); GtkSizeGroup *sg; GList *gl, *fl; PurpleRequestFieldGroup *group; @@ -1090,8 +1089,6 @@ #else /* !_WIN32 */ data->dialog = win = pidgin_create_window(title, PIDGIN_HIG_BORDER, "multifield", TRUE) ; #endif /* _WIN32 */ - if (parent) - gtk_window_set_transient_for(GTK_WINDOW(data->dialog), parent); g_signal_connect(G_OBJECT(win), "delete_event", G_CALLBACK(destroy_multifield_cb), data);