Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | Imported from gentoo: |
| 2 | |
| 3 | http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-print/libgnomecups/files/libgnomecups-0.2.3-glib.h.patch |
| 4 | |
| 5 | From d84eee9450b3b6f6155074915efc61bedcc8d446 Mon Sep 17 00:00:00 2001 |
| 6 | From: Dominique Leuenberger <dimstar@opensuse.org> |
| 7 | Date: Sun, 27 Nov 2011 21:36:41 +0100 |
| 8 | Subject: [PATCH] Fix: Only glib.h can be included |
| 9 | |
| 10 | --- |
| 11 | libgnomecups/gnome-cups-i18n.c | 2 +- |
| 12 | libgnomecups/gnome-cups-init.h | 3 +-- |
| 13 | 2 files changed, 2 insertions(+), 3 deletions(-) |
| 14 | |
| 15 | diff --git a/libgnomecups/gnome-cups-i18n.c b/libgnomecups/gnome-cups-i18n.c |
| 16 | index 8987c5c..127756d 100644 |
| 17 | --- a/libgnomecups/gnome-cups-i18n.c |
| 18 | +++ b/libgnomecups/gnome-cups-i18n.c |
| 19 | @@ -1,5 +1,5 @@ |
| 20 | #include <config.h> |
| 21 | -#include <glib/gmacros.h> |
| 22 | +#include <glib.h> |
| 23 | #include "gnome-cups-i18n.h" |
| 24 | |
| 25 | #ifdef ENABLE_NLS |
| 26 | diff --git a/libgnomecups/gnome-cups-init.h b/libgnomecups/gnome-cups-init.h |
| 27 | index 22b682a..c4600fc 100644 |
| 28 | --- a/libgnomecups/gnome-cups-init.h |
| 29 | +++ b/libgnomecups/gnome-cups-init.h |
| 30 | @@ -1,8 +1,7 @@ |
| 31 | #ifndef GNOME_CUPS_INIT |
| 32 | #define GNOME_CUPS_INIT |
| 33 | |
| 34 | -#include <glib/gtypes.h> |
| 35 | -#include <glib/gmacros.h> |
| 36 | +#include <glib.h> |
| 37 | |
| 38 | G_BEGIN_DECLS |
| 39 | |
| 40 | -- |
| 41 | 1.7.7 |
| 42 | |