[gtk+] wayland: Remove unused field
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] wayland: Remove unused field
- Date: Sun, 3 Apr 2016 22:18:41 +0000 (UTC)
commit 59e40f3d6f6387bf327c228ffb86abe3c8d2931a
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Apr 2 14:56:55 2016 -0400
wayland: Remove unused field
gdk/wayland/gdkscreen-wayland.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gdk/wayland/gdkscreen-wayland.c b/gdk/wayland/gdkscreen-wayland.c
index f7569cb..0109ebf 100644
--- a/gdk/wayland/gdkscreen-wayland.c
+++ b/gdk/wayland/gdkscreen-wayland.c
@@ -66,7 +66,6 @@ struct _GdkWaylandScreen
/* Xinerama/RandR 1.2 */
GPtrArray *monitors;
- gint primary_monitor;
GHashTable *settings;
GsdXftSettings xft_settings;
@@ -133,7 +132,6 @@ init_multihead (GdkScreen *screen)
GdkWaylandScreen *screen_wayland = GDK_WAYLAND_SCREEN (screen);
screen_wayland->monitors = g_ptr_array_new_with_free_func (free_monitor);
- screen_wayland->primary_monitor = 0;
}
static void
@@ -215,7 +213,7 @@ gdk_wayland_screen_get_n_monitors (GdkScreen *screen)
static gint
gdk_wayland_screen_get_primary_monitor (GdkScreen *screen)
{
- return GDK_WAYLAND_SCREEN (screen)->primary_monitor;
+ return 0;
}
static gint
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]