SF.net SVN: geany:[2864] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Fri Aug 8 07:47:07 UTC 2008
Revision: 2864
http://geany.svn.sourceforge.net/geany/?rev=2864&view=rev
Author: eht16
Date: 2008-08-08 07:47:06 +0000 (Fri, 08 Aug 2008)
Log Message:
-----------
Fix compilation with GTK >= 2.10.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/printing.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-08-07 16:36:06 UTC (rev 2863)
+++ trunk/ChangeLog 2008-08-08 07:47:06 UTC (rev 2864)
@@ -1,3 +1,9 @@
+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,
Modified: trunk/src/printing.c
===================================================================
--- trunk/src/printing.c 2008-08-07 16:36:06 UTC (rev 2863)
+++ trunk/src/printing.c 2008-08-08 07:47:06 UTC (rev 2864)
@@ -563,7 +563,8 @@
/* 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);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list