[gnome-bluetooth/wip/hadess/gtk-includes: 2/3] lib: Remove gtk include, add gio include




commit 54e131d81727753db49d66dfbe0c3c34de5194ef
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Dec 6 13:43:59 2021 +0100

    lib: Remove gtk include, add gio include
    
    BluetoothClient doesn't have any GTK types in its header or
    implementation, so remove the GTK header and "lower it down" to a GIO
    include.

 lib/bluetooth-client.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/lib/bluetooth-client.h b/lib/bluetooth-client.h
index bc68580c..26effcaf 100644
--- a/lib/bluetooth-client.h
+++ b/lib/bluetooth-client.h
@@ -24,8 +24,7 @@
 
 #pragma once
 
-#include <glib-object.h>
-#include <gtk/gtk.h>
+#include <gio/gio.h>
 #include <bluetooth-enums.h>
 
 #define BLUETOOTH_TYPE_CLIENT (bluetooth_client_get_type())


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