pidgin/gtkwebviewtoolbar.c

changeset 34449
bbcb198650b7
parent 34332
876483829700
child 34955
854143116575
equal deleted inserted replaced
34448:e15d91a77cb3 34449:bbcb198650b7
563 563
564 if (filename == NULL) 564 if (filename == NULL)
565 return; 565 return;
566 566
567 if (!g_file_get_contents(filename, &filedata, &size, &error)) { 567 if (!g_file_get_contents(filename, &filedata, &size, &error)) {
568 purple_notify_error(NULL, NULL, error->message, NULL); 568 purple_notify_error(NULL, NULL, error->message, NULL, NULL);
569 569
570 g_error_free(error); 570 g_error_free(error);
571 g_free(filename); 571 g_free(filename);
572 572
573 return; 573 return;
577 577
578 id = purple_imgstore_new_with_id(filedata, size, name); 578 id = purple_imgstore_new_with_id(filedata, size, name);
579 579
580 if (id == 0) { 580 if (id == 0) {
581 buf = g_strdup_printf(_("Failed to store image: %s\n"), filename); 581 buf = g_strdup_printf(_("Failed to store image: %s\n"), filename);
582 purple_notify_error(NULL, NULL, buf, NULL); 582 purple_notify_error(NULL, NULL, buf, NULL, NULL);
583 583
584 g_free(buf); 584 g_free(buf);
585 g_free(filename); 585 g_free(filename);
586 586
587 return; 587 return;

mercurial