From 509bffa75a8b51d08dfd2103c309492c73572fa1 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Thu, 29 Mar 2007 02:47:06 +0000 Subject: [PATCH] 2007-03-28 Jim Evins * src/ui-commands.c: (gl_ui_cmd_file_print): Unreferencing the print operation sometimes crashes. Just don't do it right now. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@643 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- glabels2/ChangeLog | 6 ++++++ glabels2/src/ui-commands.c | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/glabels2/ChangeLog b/glabels2/ChangeLog index a79499c2..4b782be5 100644 --- a/glabels2/ChangeLog +++ b/glabels2/ChangeLog @@ -1,3 +1,9 @@ +2007-03-28 Jim Evins + + * src/ui-commands.c: (gl_ui_cmd_file_print): + Unreferencing the print operation sometimes crashes. Just don't do it + right now. + 2007-03-28 Jim Evins * src/print-op.c: (gl_print_op_construct), diff --git a/glabels2/src/ui-commands.c b/glabels2/src/ui-commands.c index 223d3680..1e5942ba 100644 --- a/glabels2/src/ui-commands.c +++ b/glabels2/src/ui-commands.c @@ -208,8 +208,6 @@ gl_ui_cmd_file_print (GtkAction *action, { gl_print_op_free_settings (window->print_settings); window->print_settings = gl_print_op_get_settings (op); - - g_object_unref (op); } gl_debug (DEBUG_COMMANDS, "END"); -- 2.39.2