pidgin/gtkwebviewtoolbar.c

changeset 33398
bb0e3f84034c
parent 33277
d6229108ce71
child 33661
2ebcb105e606
equal deleted inserted replaced
33394:a9fbe66bccc2 33398:bb0e3f84034c
592 } 592 }
593 593
594 g_free(filename); 594 g_free(filename);
595 595
596 gtk_webview_insert_image(GTK_WEBVIEW(toolbar->webview), id); 596 gtk_webview_insert_image(GTK_WEBVIEW(toolbar->webview), id);
597 purple_imgstore_unref_by_id(id); 597 /* TODO: do it after passing an image to prpl, not before
598 * purple_imgstore_unref_by_id(id);
599 */
598 } 600 }
599 601
600 static void 602 static void
601 insert_image_cb(GtkAction *action, GtkWebViewToolbar *toolbar) 603 insert_image_cb(GtkAction *action, GtkWebViewToolbar *toolbar)
602 { 604 {

mercurial