comparison src/dialogs.c @ 1484:d8f85826995e

[gaim-migrate @ 1494] grr committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 08 Feb 2001 21:27:22 +0000
parents 934041288fbb
children 55246babdeb3
comparison
equal deleted inserted replaced
1483:934041288fbb 1484:d8f85826995e
2848 2848
2849 void do_export(GtkWidget *w, void *dummy) 2849 void do_export(GtkWidget *w, void *dummy)
2850 { 2850 {
2851 FILE *f; 2851 FILE *f;
2852 gint show_dialog = (int) dummy; 2852 gint show_dialog = (int) dummy;
2853 char *buf = g_malloc(BUF_LONG); 2853 char *buf = g_malloc(BUF_LONG * 2);
2854 char *file; 2854 char *file;
2855 char path[PATHSIZE]; 2855 char path[PATHSIZE];
2856 2856
2857 if ( show_dialog == 1 ) { 2857 if ( show_dialog == 1 ) {
2858 file = gtk_file_selection_get_filename(GTK_FILE_SELECTION(exportdialog)); 2858 file = gtk_file_selection_get_filename(GTK_FILE_SELECTION(exportdialog));