gtk+ r19479 - in trunk: . gtk



Author: matthiasc
Date: Wed Feb  6 04:04:07 2008
New Revision: 19479
URL: http://svn.gnome.org/viewvc/gtk+?rev=19479&view=rev

Log:
2008-02-05  Matthias Clasen  <mclasen redhat com>

        * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
        Allow to store half-open ranges.




Modified:
   trunk/ChangeLog
   trunk/gtk/gtkprintsettings.c

Modified: trunk/gtk/gtkprintsettings.c
==============================================================================
--- trunk/gtk/gtkprintsettings.c	(original)
+++ trunk/gtk/gtkprintsettings.c	Wed Feb  6 04:04:07 2008
@@ -1283,8 +1283,6 @@
 	{
 	  str++;
 	  end = (gint)strtol (str, NULL, 10);
-	  if (end < start)
-	    end = start;
 	}
 
       ranges[i].start = start;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]