gtk+ r19741 - in branches/gtk-2-12: . modules/printbackends/cups
- From: wbolster svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r19741 - in branches/gtk-2-12: . modules/printbackends/cups
- Date: Mon, 10 Mar 2008 08:56:14 +0000 (GMT)
Author: wbolster
Date: Mon Mar 10 08:56:14 2008
New Revision: 19741
URL: http://svn.gnome.org/viewvc/gtk+?rev=19741&view=rev
Log:
2008-03-10 Wouter Bolsterlee <wbolster svn gnome org>
reviewed by: Matthias Clasen <mclasen redhat com>
* modules/printbackends/cups/gtkprintbackendcups.c
(cups_get_user_options):
Bug 469210 â Honor CUPS user default options for GtkPrint
Correctly iterate over filename list, avoiding a
critical warning/crash.
Modified:
branches/gtk-2-12/ChangeLog
branches/gtk-2-12/modules/printbackends/cups/gtkprintbackendcups.c
Modified: branches/gtk-2-12/modules/printbackends/cups/gtkprintbackendcups.c
==============================================================================
--- branches/gtk-2-12/modules/printbackends/cups/gtkprintbackendcups.c (original)
+++ branches/gtk-2-12/modules/printbackends/cups/gtkprintbackendcups.c Mon Mar 10 08:56:14 2008
@@ -1533,7 +1533,7 @@
{
int i;
- for (i = 0; i < sizeof (lpoptions_locations); i++)
+ for (i = 0; i < G_N_ELEMENTS (lpoptions_locations); i++)
{
if (g_path_is_absolute (lpoptions_locations[i]))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]