From: Benjamin Berg Date: Sun, 28 Oct 2012 21:19:35 +0000 (+0100) Subject: Use the ppd groups "name" instead of "text" (bug #687065) X-Git-Url: http://pileus.org/git/?p=~andy%2Fgtk;a=commitdiff_plain;h=fd301e7847afa4bf8b17f806f402092d360e7007 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. --- diff --git a/modules/printbackends/cups/gtkprintbackendcups.c b/modules/printbackends/cups/gtkprintbackendcups.c index 2c4bee9f4..675e4c399 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