summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin@sipsolutions.net>2012-10-28 22:19:35 +0100
committerBenjamin Berg <benjamin@sipsolutions.net>2012-11-29 10:08:31 +0100
commit885d028c2009e9a5d6fd823cee85a0a268f19904 (patch)
treee7132a4a496160a42c77f7d80e6c4e43bd51eac4
parent474d742a0e39f33e0156846238dfa107c1f3d218 (diff)
downloadgtk+-885d028c2009e9a5d6fd823cee85a0a268f19904.tar.gz
Use the ppd groups "name" instead of "text" (bug #687065)
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.
-rw-r--r--modules/printbackends/cups/gtkprintbackendcups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/printbackends/cups/gtkprintbackendcups.c b/modules/printbackends/cups/gtkprintbackendcups.c
index 3c28a849fd..3fe8da3875 100644
--- a/modules/printbackends/cups/gtkprintbackendcups.c
+++ b/modules/printbackends/cups/gtkprintbackendcups.c
@@ -3164,7 +3164,7 @@ value_is_off (const char *value)
static char *
ppd_group_name (ppd_group_t *group)
{
- return group->text;
+ return group->name;
}
static int