[yelp] GNOME Goal: Clean up GLib and GTK+ includes. Second patch
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [yelp] GNOME Goal: Clean up GLib and GTK+ includes. Second patch
- Date: Thu, 11 Feb 2010 23:12:48 +0000 (UTC)
commit 7036336693280b991675611a1d932e30317f6ef1
Author: Javier Jardón <jjardon gnome org>
Date: Wed Dec 9 05:37:46 2009 +0100
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
src/yelp-print.c | 6 ++++--
src/yelp-print.h | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/yelp-print.c b/src/yelp-print.c
index 1f194c0..7855869 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 c85848c..96e3c0f 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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]