[evince] [shell] Remove left over GtkPrinter
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: svn-commits-list gnome org
- Subject: [evince] [shell] Remove left over GtkPrinter
- Date: Fri, 5 Jun 2009 11:47:29 -0400 (EDT)
commit d0d7034bc1d16ad1cc2c3320d5333d472803ba5f
Author: Hib Eris <hib hiberis nl>
Date: Fri Jun 5 17:46:12 2009 +0200
[shell] Remove left over GtkPrinter
---
shell/ev-window.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 2926828..ded233d 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -38,7 +38,6 @@
#include <glib/gi18n.h>
#include <gio/gio.h>
#include <gtk/gtk.h>
-#include <gtk/gtkunixprint.h>
#ifdef WITH_GCONF
#include <gconf/gconf-client.h>
@@ -199,7 +198,6 @@ struct _EvWindowPrivate {
/* Printing */
GQueue *print_queue;
- GtkPrinter *printer;
GtkPrintSettings *print_settings;
GtkPageSetup *print_page_setup;
gboolean close_after_print;
@@ -4716,11 +4714,6 @@ ev_window_dispose (GObject *object)
ev_window_close_dialogs (window);
- if (window->priv->printer) {
- g_object_unref (window->priv->printer);
- window->priv->printer = NULL;
- }
-
if (window->priv->print_settings) {
g_object_unref (window->priv->print_settings);
window->priv->print_settings = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]