src/gtkutils.c

changeset 5436
a0e0bacaa196
parent 5314
56ef6a09fb99
child 5530
ba1ad464b56f
equal deleted inserted replaced
5435:990c340ecb6d 5436:a0e0bacaa196
44 #endif 44 #endif
45 #include "gtkimhtml.h" 45 #include "gtkimhtml.h"
46 #include <gdk/gdkkeysyms.h> 46 #include <gdk/gdkkeysyms.h>
47 #include "prpl.h" 47 #include "prpl.h"
48 #include "ui.h" 48 #include "ui.h"
49 #include "notify.h"
49 50
50 #ifdef _WIN32 51 #ifdef _WIN32
51 #include "wspell.h" 52 #include "wspell.h"
52 #endif 53 #endif
53 54
277 if (data) 278 if (data)
278 fwrite(data, 1, len, file); 279 fwrite(data, 1, len, file);
279 280
280 fclose(file); 281 fclose(file);
281 } else { 282 } else {
282 do_error_dialog("Can't save icon file to disk", 283 gaim_notify_error(NULL, NULL,
283 strerror(errno), GAIM_ERROR); 284 _("Can't save icon file to disk."), NULL);
284 } 285 }
285 286
286 gtk_widget_destroy(gtkconv->u.im->save_icon); 287 gtk_widget_destroy(gtkconv->u.im->save_icon);
287 gtkconv->u.im->save_icon = NULL; 288 gtkconv->u.im->save_icon = NULL;
288 } 289 }

mercurial