[gthumb/gthumb-3-2] print: do not destroy an unowned image



commit 04759155722d818934ae4b0dfd1044c30ff41d07
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Sep 21 16:40:11 2013 +0200

    print: do not destroy an unowned image

 extensions/image_print/actions.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/extensions/image_print/actions.c b/extensions/image_print/actions.c
index 507e596..adc4e59 100644
--- a/extensions/image_print/actions.c
+++ b/extensions/image_print/actions.c
@@ -58,7 +58,6 @@ gth_browser_activate_action_file_print (GtkAction  *action,
                                                     current_image,
                                                     g_file_info_get_display_name 
(gth_browser_get_location_data (browser)->info),
                                                     &error);
-               cairo_surface_destroy (current_image);
 
                if (print_job != NULL) {
                        gth_image_print_job_run (print_job,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]