fix the build. Dunno if the fix is right, but I think it is.

2007-04-25  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
	build. Dunno if the fix is right, but I think it is.


svn path=/trunk/; revision=17629
This commit is contained in:
Michael Natterer 2007-04-25 09:47:14 +00:00 committed by Michael Natterer
parent 8af6804b71
commit 653a03c218
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-04-25 Michael Natterer <mitch@imendio.com>
* gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
build. Dunno if the fix is right, but I think it is.
2007-04-25 Kristian Rietveld <kris@imendio.com>
* gtk/gtktooltip.c (find_topmost_widget_coords_from_event):

View File

@ -214,7 +214,7 @@ preview_iface_is_selected (GtkPrintOperationPreview *preview,
for (i = 0; i < priv->num_page_ranges; i++)
{
if (page_nr >= priv->page_ranges[i].start &&
(page_nr <= priv->page_ranges[i].end || page_ranges[i].end == -1)
(page_nr <= priv->page_ranges[i].end || priv->page_ranges[i].end == -1))
return TRUE;
}
return FALSE;