[gnome-software: 14/25] gs-category: Fix header includes




commit 0189e8ff4047792da81eadf2b84ddac543f60e9c
Author: Philip Withnall <pwithnall endlessos org>
Date:   Mon Feb 1 23:57:06 2021 +0000

    gs-category: Fix header includes
    
    The header doesn’t use GDK, but it does use GLib types (the layer below
    GObject).
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 lib/gs-category.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/gs-category.h b/lib/gs-category.h
index 9a78425b6..cd15360e7 100644
--- a/lib/gs-category.h
+++ b/lib/gs-category.h
@@ -10,8 +10,8 @@
 
 #pragma once
 
+#include <glib.h>
 #include <glib-object.h>
-#include <gdk/gdk.h>
 
 G_BEGIN_DECLS
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]