slackbuilds_ponce/libraries/gtkhotkey/glib-single-include.patch
Edinaldo P. Silva 2c12749296 libraries/gtkhotkey: Added (hotkey handling for Gtk+ applications).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2015-09-05 14:10:04 +07:00

30 lines
1 KiB
Diff

Description: Fix build failure with glib 2.32
where including invidual glib headers is no longer allowed.
Author: Michael Biebl <biebl@debian.org>
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665548
Index: gtkhotkey-0.2.1/src/gtk-hotkey-error.h
===================================================================
--- gtkhotkey-0.2.1.orig/src/gtk-hotkey-error.h 2009-09-03 22:52:49.000000000 +0200
+++ gtkhotkey-0.2.1/src/gtk-hotkey-error.h 2012-03-25 19:07:05.822268171 +0200
@@ -23,7 +23,7 @@
#ifndef __GTK_HOTKEY_ERROR_H__
#define __GTK_HOTKEY_ERROR_H__
-#include <glib/gquark.h>
+#include <glib.h>
G_BEGIN_DECLS
Index: gtkhotkey-0.2.1/src/x11/tomboykeybinder.h
===================================================================
--- gtkhotkey-0.2.1.orig/src/x11/tomboykeybinder.h 2009-09-03 22:52:49.000000000 +0200
+++ gtkhotkey-0.2.1/src/x11/tomboykeybinder.h 2012-03-25 19:07:05.914268168 +0200
@@ -2,7 +2,7 @@
#ifndef __TOMBOY_KEY_BINDER_H__
#define __TOMBOY_KEY_BINDER_H__
-#include <glib/gtypes.h>
+#include <glib.h>
G_BEGIN_DECLS