summaryrefslogtreecommitdiffstats
path: root/desktop/openbox-menu/openbox-menu-0.8.1-build.patch
blob: ea66efb129038314bff1fabacd26f045112d6398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From e3989a504d9713d0de8b236b1f8d21c74d1fcd00 Mon Sep 17 00:00:00 2001
From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com>
Date: Thu, 11 Feb 2021 21:12:52 +0300
Subject: [PATCH 1/2] Fix compilation

icon_theme is needed in menu.c
--- a/src/openbox-menu.h
+++ b/src/openbox-menu.h
@@ -82,4 +82,8 @@ gboolean context_get_persistent (OB_Menu*);
 
 void context_free(OB_Menu *);
 
+#ifdef WITH_ICONS
+extern GtkIconTheme *icon_theme;
+#endif
+
 #endif // __OPENBOXMENU_APP__
-- 
2.26.2