summaryrefslogtreecommitdiffstats
path: root/office/evince/0001-shell-Fix-libhandy-includes.patch
blob: f0b66585496ec072ce9556f2d754737bb2aeea22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
From 960372e7fa4b0bab7244661f0a7fb926c6b1441d Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Sun, 21 Feb 2021 17:15:15 +0100
Subject: [PATCH 1/2] shell: Fix libhandy includes

The libhandy-1 pkgconfig file already includes the "libhandy-1/"
directory, so no need to add it to our includes.
Cflags: -I${includedir}/libhandy-1
---
 shell/ev-application.c | 2 +-
 shell/ev-window.c      | 2 +-
 shell/ev-window.h      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/shell/ev-application.c b/shell/ev-application.c
index c6f51c10..e704bda2 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -30,7 +30,7 @@
 #include <glib/gi18n.h>
 #include <glib/gstdio.h>
 #include <gtk/gtk.h>
-#include <libhandy-1/handy.h>
+#include <handy.h>
 #ifdef GDK_WINDOWING_X11
 #include <gdk/gdkx.h>
 #endif
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 6c0a2283..6a4f7f7b 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -40,7 +40,7 @@
 #include <glib/gi18n.h>
 #include <gio/gio.h>
 #include <gtk/gtk.h>
-#include <libhandy-1/handy.h>
+#include <handy.h>
 
 #include "dzl-file-manager.h"
 #include "ev-find-sidebar.h"
diff --git a/shell/ev-window.h b/shell/ev-window.h
index 746f3f85..65fe322b 100644
--- a/shell/ev-window.h
+++ b/shell/ev-window.h
@@ -26,7 +26,7 @@
 
 #include <glib.h>
 #include <gtk/gtk.h>
-#include <libhandy-1/handy.h>
+#include <handy.h>
 
 #include "ev-link.h"
 #include "ev-history.h"
-- 
2.33.0