[gnome-bluetooth/wip/hadess/gtk-includes: 3/3] lib: Remove GTK includes
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/wip/hadess/gtk-includes: 3/3] lib: Remove GTK includes
- Date: Mon, 6 Dec 2021 12:45:26 +0000 (UTC)
commit 9dbbface2cf9c24d23829b284c037da1b36cadde
Author: Bastien Nocera <hadess hadess net>
Date: Mon Dec 6 13:44:58 2021 +0100
lib: Remove GTK includes
lib/bluetooth-device.h | 1 -
lib/bluetooth-utils.c | 1 -
lib/test-class.c | 3 ---
3 files changed, 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]