diff -urN gtk+-2.24.22/gtk/gtkprinteroptionwidget.c gtk+-2.24.22-patch/gtk/gtkprinteroptionwidget.c
--- gtk+-2.24.22/gtk/gtkprinteroptionwidget.c	2013-10-05 00:02:29.000000000 +0200
+++ gtk+-2.24.22-patch/gtk/gtkprinteroptionwidget.c	2013-12-19 18:08:52.000000000 +0100
@@ -479,7 +479,7 @@
                      GtkPrinterOptionWidget *widget)
 {
   GtkPrinterOptionWidgetPrivate *priv = widget->priv;
-  gchar *uri, *file;
+  gchar *uri = NULL, *file;
   gchar *directory;
 
   file = g_filename_from_utf8 (gtk_entry_get_text (GTK_ENTRY (priv->entry)),
@@ -520,8 +520,14 @@
     {
       if (g_uri_parse_scheme (file) != NULL)
         uri = g_strdup (file);
-      else
-        uri = g_build_path ("/", gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (priv->combo)), file, NULL);
+      else {
+			gchar *ChooserUri = gtk_file_chooser_get_uri(GTK_FILE_CHOOSER(priv->combo)) ;
+			
+			if(ChooserUri != NULL) {
+				uri = g_build_path("/", ChooserUri, file, NULL) ;
+				g_free(ChooserUri) ;
+			}
+		}
     }
  
   if (uri)
