[geany/geany] 478679: Fix build (oops, sorry)

Colomban Wendling git-noreply at xxxxx
Tue Aug 20 09:54:01 UTC 2013


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Tue, 20 Aug 2013 09:54:01 UTC
Commit:      4786796e9aff75e67d8a6abdd61f5bbe7e1a7e66
             https://github.com/geany/geany/commit/4786796e9aff75e67d8a6abdd61f5bbe7e1a7e66

Log Message:
-----------
Fix build (oops, sorry)


Modified Paths:
--------------
    src/printing.c

Modified: src/printing.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -362,7 +362,7 @@ static void begin_print(GtkPrintOperation *operation, GtkPrintContext *context,
 	pango_res = pango_cairo_context_get_resolution(pango_ctx);
 	g_object_unref(pango_ctx);
 	widget_pango_ctx = gtk_widget_get_pango_context(GTK_WIDGET(dinfo->sci));
-	widget_res = pango_cairo_context_get_resolution(widget_ctx);
+	widget_res = pango_cairo_context_get_resolution(widget_pango_ctx);
 	/* On Windows, for some reason the widget's resolution is -1, so follow
 	 * Pango docs and peek the font map's one. */
 	if (widget_res < 0)



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list