comparison src/dialogs.c @ 1817:b367beee6448

[gaim-migrate @ 1827] reworked autorecon.c. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 06 May 2001 10:08:40 +0000
parents f15d449b3167
children 00aef397a1fe
comparison
equal deleted inserted replaced
1816:aa2bb1bfbd4b 1817:b367beee6448
418 418
419 /*------------------------------------------------------------------------*/ 419 /*------------------------------------------------------------------------*/
420 /* The dialog for getting an error */ 420 /* The dialog for getting an error */
421 /*------------------------------------------------------------------------*/ 421 /*------------------------------------------------------------------------*/
422 422
423 void 423 GtkWidget*
424 do_error_dialog(char *message, char *title) 424 do_error_dialog(char *message, char *title)
425 { 425 {
426 GtkWidget *d; 426 GtkWidget *d;
427 GtkWidget *label; 427 GtkWidget *label;
428 GtkWidget *close; 428 GtkWidget *close;
449 gtk_window_set_title(GTK_WINDOW(d), title); 449 gtk_window_set_title(GTK_WINDOW(d), title);
450 gtk_signal_connect(GTK_OBJECT(close), "clicked", GTK_SIGNAL_FUNC(destroy_dialog), d); 450 gtk_signal_connect(GTK_OBJECT(close), "clicked", GTK_SIGNAL_FUNC(destroy_dialog), d);
451 aol_icon(d->window); 451 aol_icon(d->window);
452 452
453 gtk_widget_show(d); 453 gtk_widget_show(d);
454 return d;
454 } 455 }
455 456
456 457
457 458
458 void show_error_dialog(char *d) 459 void show_error_dialog(char *d)