summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-12-06 13:44:58 +0100
committerBastien Nocera <hadess@hadess.net>2021-12-06 13:44:58 +0100
commit9dbbface2cf9c24d23829b284c037da1b36cadde (patch)
tree8ab06dcf3015e2fe81560620fd9718c9864cc2f8
parent54e131d81727753db49d66dfbe0c3c34de5194ef (diff)
downloadgnome-bluetooth-9dbbface2cf9c24d23829b284c037da1b36cadde.tar.gz
lib: Remove GTK includes
-rw-r--r--lib/bluetooth-device.h1
-rw-r--r--lib/bluetooth-utils.c1
-rw-r--r--lib/test-class.c3
3 files changed, 0 insertions, 5 deletions
diff --git a/lib/bluetooth-device.h b/lib/bluetooth-device.h
index bef2f39e..82d8dc7f 100644
--- a/lib/bluetooth-device.h
+++ b/lib/bluetooth-device.h
@@ -7,7 +7,6 @@
#pragma once
#include <glib-object.h>
-#include <gtk/gtk.h>
#include <bluetooth-enums.h>
#define BLUETOOTH_TYPE_DEVICE (bluetooth_device_get_type())
diff --git a/lib/bluetooth-utils.c b/lib/bluetooth-utils.c
index 78c561db..c99d71cf 100644
--- a/lib/bluetooth-utils.c
+++ b/lib/bluetooth-utils.c
@@ -35,7 +35,6 @@
#include "config.h"
#include <glib/gi18n-lib.h>
-#include <gtk/gtk.h>
#include "bluetooth-utils.h"
#include "gnome-bluetooth-enum-types.h"
diff --git a/lib/test-class.c b/lib/test-class.c
index 63f9622c..e347b85a 100644
--- a/lib/test-class.c
+++ b/lib/test-class.c
@@ -22,7 +22,6 @@
*/
#include <string.h>
-#include <gtk/gtk.h>
#include "bluetooth-client.h"
#include "bluetooth-client-private.h"
@@ -46,8 +45,6 @@ int main(int argc, char *argv[])
GLogLevelFlags fatal_mask;
guint class;
- gtk_init();
-
fatal_mask = g_log_set_always_fatal (G_LOG_FATAL_MASK);
fatal_mask |= G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL;
g_log_set_always_fatal (fatal_mask);