]> Pileus Git - ~andy/gtk/commitdiff
Use the ppd groups "name" instead of "text" (bug #687065)
authorBenjamin Berg <benjamin@sipsolutions.net>
Sun, 28 Oct 2012 21:19:35 +0000 (22:19 +0100)
committerBenjamin Berg <benjamin@sipsolutions.net>
Thu, 29 Nov 2012 09:02:08 +0000 (10:02 +0100)
This commit fixes a regression caused by a patch to remove Cups 1.2
ifdefs. This resulted in the "installable options" to appear in the
print dialog.

modules/printbackends/cups/gtkprintbackendcups.c

index 2c4bee9f4accbb50bae3174c92e379599c725e61..675e4c39967fbd58550bd3021d1bb3ff0eccee82 100644 (file)
@@ -3169,7 +3169,7 @@ value_is_off (const char *value)
 static char *
 ppd_group_name (ppd_group_t *group)
 {
-  return group->text;
+  return group->name;
 }
 
 static int