[gnome-shell/wip/carlosg/cleanup-gtk-usage: 68/77] shell: Drop some unused headers and Gdk variables
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/cleanup-gtk-usage: 68/77] shell: Drop some unused headers and Gdk variables
- Date: Sat, 26 Jan 2019 14:34:24 +0000 (UTC)
commit ee39b984c44ceb8cdca413d75b0b016c08ab1cdc
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Nov 27 13:34:22 2018 +0100
shell: Drop some unused headers and Gdk variables
src/main.c | 2 --
src/shell-recorder.c | 5 -----
src/shell-util.c | 1 -
src/shell-window-tracker.c | 4 ----
4 files changed, 12 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 01155777c..245837783 100644
--- a/src/main.c
+++ b/src/main.c
@@ -11,8 +11,6 @@
#include <cogl-pango/cogl-pango.h>
#include <clutter/clutter.h>
#include <clutter/x11/clutter-x11.h>
-#include <gdk/gdk.h>
-#include <gdk/gdkx.h>
#include <gtk/gtk.h>
#include <glib/gi18n-lib.h>
#include <girepository.h>
diff --git a/src/shell-recorder.c b/src/shell-recorder.c
index a80a00a23..9bf36e6db 100644
--- a/src/shell-recorder.c
+++ b/src/shell-recorder.c
@@ -12,7 +12,6 @@
#include <gst/gst.h>
#include <gtk/gtk.h>
-#include <gdk/gdk.h>
#include <cogl/cogl.h>
#include <meta/meta-cursor-tracker.h>
@@ -52,8 +51,6 @@ struct _ShellRecorder {
int stage_width;
int stage_height;
- GdkScreen *gdk_screen;
-
int pointer_x;
int pointer_y;
@@ -210,8 +207,6 @@ shell_recorder_init (ShellRecorder *recorder)
shell_recorder_src_register ();
- recorder->gdk_screen = gdk_screen_get_default ();
-
recorder->memory_target = get_memory_target();
recorder->a11y_settings = g_settings_new (A11Y_APPS_SCHEMA);
diff --git a/src/shell-util.c b/src/shell-util.c
index f0a8483d7..b4655b715 100644
--- a/src/shell-util.c
+++ b/src/shell-util.c
@@ -19,7 +19,6 @@
#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
-#include <gdk/gdkx.h>
#include <meta/meta-shaped-texture.h>
#include <locale.h>
diff --git a/src/shell-window-tracker.c b/src/shell-window-tracker.c
index f51bea370..a0ba88450 100644
--- a/src/shell-window-tracker.c
+++ b/src/shell-window-tracker.c
@@ -5,10 +5,6 @@
#include <string.h>
#include <stdlib.h>
-#include <X11/Xlib.h>
-#include <X11/Xatom.h>
-#include <gdk/gdk.h>
-#include <gdk/gdkx.h>
#include <meta/display.h>
#include <meta/group.h>
#include <meta/util.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]