[gtk+/gtk-3-4] Use the ppd groups "name" instead of "text" (bug #687065)
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-4] Use the ppd groups "name" instead of "text" (bug #687065)
- Date: Thu, 29 Nov 2012 09:09:10 +0000 (UTC)
commit 7675a52d70329e6e4bac78ccccc26a3b77e97abc
Author: Benjamin Berg <benjamin sipsolutions net>
Date: Sun Oct 28 22:19:35 2012 +0100
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.
modules/printbackends/cups/gtkprintbackendcups.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/printbackends/cups/gtkprintbackendcups.c b/modules/printbackends/cups/gtkprintbackendcups.c
index 40fc1b8..ec2e89a 100644
--- a/modules/printbackends/cups/gtkprintbackendcups.c
+++ b/modules/printbackends/cups/gtkprintbackendcups.c
@@ -3158,7 +3158,7 @@ value_is_off (const char *value)
static char *
ppd_group_name (ppd_group_t *group)
{
- return group->text;
+ return group->name;
}
static int
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]