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



commit fd301e7847afa4bf8b17f806f402092d360e7007
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 2c4bee9..675e4c3 100644
--- a/modules/printbackends/cups/gtkprintbackendcups.c
+++ b/modules/printbackends/cups/gtkprintbackendcups.c
@@ -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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]