Debian #492283
GNOME #549361
Original patch by Vincent Caron

Index: epiphany-2.22.3/embed/mozilla/GeckoPrintService.cpp
===================================================================
--- epiphany-2.22.3.orig/embed/mozilla/GeckoPrintService.cpp	2008-10-21 17:01:36.703320953 +0200
+++ epiphany-2.22.3/embed/mozilla/GeckoPrintService.cpp	2008-10-21 17:07:08.200124248 +0200
@@ -62,7 +62,11 @@
 #define CONF_PRINT_PAGE_TITLE           "/apps/epiphany/dialogs/print_page_title"
 #define CONF_PRINT_PAGE_URL             "/apps/epiphany/dialogs/print_page_url"
 
+#ifdef HAVE_GECKO_1_9
+#define LITERAL(s) NS_ConvertUTF8toUTF16(s).get()
+#else
 #define LITERAL(s) reinterpret_cast<const nsAString::char_type*>(NS_L(s))
+#endif
 
 /* From nsIDeviceContext.h */
 #define NS_ERROR_GFX_PRINTER_BASE (1) /* adjustable :-) */
