summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2009-12-09 05:37:46 +0100
committerJavier Jardón <jjardon@gnome.org>2010-02-12 00:11:20 +0100
commit7036336693280b991675611a1d932e30317f6ef1 (patch)
tree01374f2460770ff1f6e036d452595ad057424d62
parentfffac7bcccd3e562fd83c95715741539d73466e9 (diff)
downloadyelp-7036336693280b991675611a1d932e30317f6ef1.tar.gz
GNOME Goal: Clean up GLib and GTK+ includes. Second patch
Use <gtk/gtkunixprint.h> instead <gtk/gtkprintunixdialog.h> and <gtk/gtkprinter> Fixes https://bugzilla.gnome.org/show_bug.cgi?id=563865
-rw-r--r--src/yelp-print.c6
-rw-r--r--src/yelp-print.h2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/yelp-print.c b/src/yelp-print.c
index 1f194c0b..7855869b 100644
--- a/src/yelp-print.c
+++ b/src/yelp-print.c
@@ -23,14 +23,16 @@
*/
#include <unistd.h>
+#include <string.h>
#include <sys/stat.h>
+
#include <glib.h>
#include <glib/gstdio.h>
-#include <string.h>
+#include <gtk/gtkunixprint.h>
+
#include "yelp-print.h"
#include "yelp-html.h"
#include "yelp-utils.h"
-#include <gtk/gtkprintunixdialog.h>
static GtkPrintSettings * yelp_print_load_config_from_file ( void );
static void yelp_print_save_config_to_file (GtkPrintSettings *config);
diff --git a/src/yelp-print.h b/src/yelp-print.h
index c85848c0..96e3c0fa 100644
--- a/src/yelp-print.h
+++ b/src/yelp-print.h
@@ -26,8 +26,8 @@
#include <glib.h>
/* Needed to fill the struct */
-#include <gtk/gtkprinter.h>
#include <gtk/gtk.h>
+#include <gtk/gtkunixprint.h>
#include "yelp-window.h"