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



commit 885d028c2009e9a5d6fd823cee85a0a268f19904
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 3c28a84..3fe8da3 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



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