]> Pileus Git - ~andy/gtk/commit
cups: Add hack to work around gcc warning
authorBenjamin Otte <otte@redhat.com>
Mon, 18 Oct 2010 17:08:55 +0000 (19:08 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 18 Oct 2010 17:22:44 +0000 (19:22 +0200)
commit9e31ef616d97c778f5df050ef492dac268cbd4ca
tree6584f9c05f1c7c4cf2ceba772804b626fc0e53df
parent3b8a264a5efbd2509d1286c9c367ec181cf34356
cups: Add hack to work around gcc warning

gcc warns if you switch on values that are not part of the enum you're
switching on. So handle those cases in the default handler by using if
statments.

PS: Someone file a bug against cups about this?
modules/printbackends/cups/gtkprintbackendcups.c