[Commits] [SCM] claws branch, master, updated. 3.11.1-95-g3d05195
mones at claws-mail.org
mones at claws-mail.org
Mon May 4 03:10:31 CEST 2015
The branch, master has been updated
via 3d05195eb6ee5053e8b0ef19f6e3bf80d84e1e50 (commit)
from 6d45e57eb7e414bb4d276f2f3c9fc06ecb79726c (commit)
Summary of changes:
src/printing.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 3d05195eb6ee5053e8b0ef19f6e3bf80d84e1e50
Author: Ricardo Mones <ricardo at mones.org>
Date: Mon May 4 03:07:50 2015 +0200
Fix GLib-GObject-CRITICAL message when printing
Message was: “g_object_ref: assertion 'G_IS_OBJECT (object)' failed”
diff --git a/src/printing.c b/src/printing.c
index 0646236..ccd857f 100644
--- a/src/printing.c
+++ b/src/printing.c
@@ -263,7 +263,7 @@ void printing_print_full(GtkWindow *parent, PrintRenderer *renderer, gpointer re
print_data->renderer_data = renderer_data;
print_data->sel_start = sel_start;
print_data->sel_end = sel_end;
- print_data->avatar = GTK_IMAGE(g_object_ref(avatar));
+ print_data->avatar = (avatar != NULL? GTK_IMAGE(g_object_ref(avatar)): NULL);
print_data->zoom = 1.;
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list