summaryrefslogtreecommitdiff
path: root/app/wlib/gtklib/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/wlib/gtklib/text.c')
-rw-r--r--app/wlib/gtklib/text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/wlib/gtklib/text.c b/app/wlib/gtklib/text.c
index 5445984..f7ba288 100644
--- a/app/wlib/gtklib/text.c
+++ b/app/wlib/gtklib/text.c
@@ -360,12 +360,12 @@ wBool_t wTextPrint(
dialog = gtk_message_dialog_new(GTK_WINDOW(gtkMainW->gtkwin),
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
- error->message);
+ "%s",error->message);
g_error_free(error);
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
}
-
+ g_object_ref_sink(operation);
g_object_unref(operation);
return TRUE;
}