Skip to content

Commit

Permalink
Fix build (oops, sorry)
Browse files Browse the repository at this point in the history
  • Loading branch information
b4n committed Aug 20, 2013
1 parent 1fe7b48 commit 4786796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/printing.c
Expand Up @@ -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)
Expand Down

0 comments on commit 4786796

Please sign in to comment.