SF.net SVN: geany: [2627] trunk/src/printing.c
eht16 at users.sourceforge.net
eht16 at xxxxx
Thu May 29 18:07:26 UTC 2008
Revision: 2627
http://geany.svn.sourceforge.net/geany/?rev=2627&view=rev
Author: eht16
Date: 2008-05-29 11:07:18 -0700 (Thu, 29 May 2008)
Log Message:
-----------
Remove code that should not have been comitted. Oops.
Modified Paths:
--------------
trunk/src/printing.c
Modified: trunk/src/printing.c
===================================================================
--- trunk/src/printing.c 2008-05-29 18:02:20 UTC (rev 2626)
+++ trunk/src/printing.c 2008-05-29 18:07:18 UTC (rev 2627)
@@ -409,24 +409,12 @@
{
DocInfo *dinfo = user_data;
PangoFontDescription *desc;
- GtkPrintSettings *lsettings;
- GtkPageRange range;
gint i;
gint style_max;
if (dinfo == NULL)
return;
- /* printing a range of pages or only the current page is not yet supported, so force printing
- * of all pages */
- lsettings = gtk_print_operation_get_print_settings(operation);
- gtk_print_settings_set_print_pages(lsettings, GTK_PRINT_PAGES_ALL);
- gtk_print_settings_set_page_set(lsettings, GTK_PAGE_SET_ALL);
- range.start = 0;
- range.end = dinfo->n_pages;
- gtk_print_settings_set_page_ranges(lsettings, &range, 1);
- gtk_print_operation_set_print_settings(operation, lsettings);
-
desc = pango_font_description_from_string(interface_prefs.editor_font);
/* init dinfo fields */
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