[gtk+/gtk-3-4] Use the ppd groups "name" instead of "text" (bug #687065)



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]