summaryrefslogtreecommitdiff
path: root/modules/printbackends
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-09-09 22:40:44 -0400
committerMatthias Clasen <mclasen@redhat.com>2009-09-10 13:53:28 -0400
commitbe22a6216094814b00243a3da93fe177814a4e9b (patch)
tree2c967afbee00f3ae22d3ee3b4eafbaae36659761 /modules/printbackends
parent7124f5927ae96d13ea74268b73c62293b0243ddd (diff)
downloadgdk-pixbuf-be22a6216094814b00243a3da93fe177814a4e9b.tar.gz
Cleanups
This commit removes dead code, mostly pointed out by clang.
Diffstat (limited to 'modules/printbackends')
-rw-r--r--modules/printbackends/file/gtkprintbackendfile.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/printbackends/file/gtkprintbackendfile.c b/modules/printbackends/file/gtkprintbackendfile.c
index aaf8ce1d9..fc2046c59 100644
--- a/modules/printbackends/file/gtkprintbackendfile.c
+++ b/modules/printbackends/file/gtkprintbackendfile.c
@@ -442,13 +442,11 @@ gtk_print_backend_file_print_stream (GtkPrintBackend *print_backend,
GDestroyNotify dnotify)
{
GError *internal_error = NULL;
- GtkPrinter *printer;
_PrintStreamData *ps;
GtkPrintSettings *settings;
gchar *uri;
GFile *file = NULL;
- printer = gtk_print_job_get_printer (job);
settings = gtk_print_job_get_settings (job);
ps = g_new0 (_PrintStreamData, 1);