Kaydet (Commit) 19247c47 authored tarafından Enrico Tröger's avatar Enrico Tröger

Fix compilation with GTK >= 2.10.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2864 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 309b853b
2008-08-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/printing.c:
Fix compilation with GTK >= 2.10.
2008-08-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/prefs.c, src/plugindata.h, src/callbacks.c,
......
......@@ -563,7 +563,8 @@ static void draw_page(GtkPrintOperation *operation, GtkPrintContext *context,
/* convert tabs to spaces which seems to be better than using Pango tabs */
if (c == '\t')
{
gchar *s = g_strnfill(editor_prefs.tab_width, ' ');
const GeanyIndentPrefs *iprefs = editor_get_indent_prefs(dinfo->doc->editor);
gchar *s = g_strnfill(iprefs->width, ' ');
g_string_append(str, s);
g_free(s);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment