comparison src/gtkimhtml.c @ 9717:f105bc0270c7

[gaim-migrate @ 10578] nosnilmot pointed out that I'm dumb committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 08 Aug 2004 14:21:30 +0000
parents 4d05b6e9e9cd
children f654d3bfeb47
comparison
equal deleted inserted replaced
9716:8158d148b3c2 9717:f105bc0270c7
2801 2801
2802 /* If I can't find a valid type, I will just tell the user about it and then assume 2802 /* If I can't find a valid type, I will just tell the user about it and then assume
2803 it's a png */ 2803 it's a png */
2804 if (!type){ 2804 if (!type){
2805 gtk_message_dialog_new(NULL, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, 2805 gtk_message_dialog_new(NULL, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK,
2806 _("Unable to guess the image type based on the file extension supplied. Using \".image\"")); 2806 _("Unable to guess the image type based on the file extension supplied. Defaulting to PNG."));
2807 type = g_strdup("image"); 2807 type = g_strdup("png");
2808 } 2808 }
2809 2809
2810 gdk_pixbuf_save(image->pixbuf, filename, type, &error, NULL); 2810 gdk_pixbuf_save(image->pixbuf, filename, type, &error, NULL);
2811 2811
2812 if (error){ 2812 if (error){