[gnome-settings-daemon] wacom: Remove useless headers
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] wacom: Remove useless headers
- Date: Sun, 12 Feb 2017 18:29:49 +0000 (UTC)
commit 9d0bdbf997370dbf2180cbf001f0ece741bbfb5c
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Feb 11 16:45:16 2017 +0100
wacom: Remove useless headers
They're no longer needed. Also remove the notify_init() call since the
wacom module no longer uses libnotify.
https://bugzilla.gnome.org/show_bug.cgi?id=773958
plugins/wacom/gsd-wacom-manager.c | 4 ----
plugins/wacom/gsd-wacom-oled.c | 2 --
plugins/wacom/gsd-wacom-oled.h | 2 ++
3 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/plugins/wacom/gsd-wacom-manager.c b/plugins/wacom/gsd-wacom-manager.c
index 8cbe52e..61d790d 100644
--- a/plugins/wacom/gsd-wacom-manager.c
+++ b/plugins/wacom/gsd-wacom-manager.c
@@ -32,8 +32,6 @@
#include <glib.h>
#include <glib/gi18n-lib.h>
-#include <gtk/gtk.h>
-#include <libnotify/notify.h>
#include "gsd-enums.h"
#include "gnome-settings-profile.h"
@@ -158,8 +156,6 @@ gsd_wacom_manager_class_init (GsdWacomManagerClass *klass)
object_class->finalize = gsd_wacom_manager_finalize;
- notify_init ("gnome-settings-daemon");
-
g_type_class_add_private (klass, sizeof (GsdWacomManagerPrivate));
}
diff --git a/plugins/wacom/gsd-wacom-oled.c b/plugins/wacom/gsd-wacom-oled.c
index e3cac8b..b2e219f 100644
--- a/plugins/wacom/gsd-wacom-oled.c
+++ b/plugins/wacom/gsd-wacom-oled.c
@@ -26,9 +26,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <libwacom/libwacom.h>
-#include <gtk/gtk.h>
#include "gsd-device-manager.h"
#include "gsd-wacom-oled.h"
diff --git a/plugins/wacom/gsd-wacom-oled.h b/plugins/wacom/gsd-wacom-oled.h
index c8db138..9acee8c 100644
--- a/plugins/wacom/gsd-wacom-oled.h
+++ b/plugins/wacom/gsd-wacom-oled.h
@@ -20,6 +20,8 @@
#include "gsd-wacom-oled-constants.h"
#include "gsd-device-manager.h"
+#include <gdk-pixbuf/gdk-pixbuf.h>
+
#ifndef __GSD_WACOM_OLED_H
#define __GSD_WACOM_OLED_H
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]