[gtk+/wip/otte/gtk4: 32/121] screen: Remove unused vfunc
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/otte/gtk4: 32/121] screen: Remove unused vfunc
- Date: Fri, 7 Oct 2016 04:04:48 +0000 (UTC)
commit 9e03d0d7d6a3d7e914a137a6d42daa92dc7cb59d
Author: Benjamin Otte <otte redhat com>
Date: Fri Sep 30 19:27:38 2016 +0200
screen: Remove unused vfunc
GdkScreenClass.broadcast_client_message was unused, but a bunch of
backends still had functions (not) implementing it.
gdk/broadway/gdkscreen-broadway.c | 7 -------
gdk/gdkscreenprivate.h | 2 --
gdk/mir/gdkmirscreen.c | 9 ---------
gdk/quartz/gdkevents-quartz.c | 7 -------
gdk/quartz/gdkprivate-quartz.h | 2 --
gdk/quartz/gdkscreen-quartz.c | 1 -
gdk/wayland/gdkscreen-wayland.c | 7 -------
7 files changed, 0 insertions(+), 35 deletions(-)
---
diff --git a/gdk/broadway/gdkscreen-broadway.c b/gdk/broadway/gdkscreen-broadway.c
index b608399..b08e7da 100644
--- a/gdk/broadway/gdkscreen-broadway.c
+++ b/gdk/broadway/gdkscreen-broadway.c
@@ -154,12 +154,6 @@ gdk_broadway_screen_is_composited (GdkScreen *screen)
}
-static void
-gdk_broadway_screen_broadcast_client_message (GdkScreen *screen,
- GdkEvent *event)
-{
-}
-
static gboolean
gdk_broadway_screen_get_setting (GdkScreen *screen,
const gchar *name,
@@ -185,7 +179,6 @@ gdk_broadway_screen_class_init (GdkBroadwayScreenClass *klass)
screen_class->get_display = gdk_broadway_screen_get_display;
screen_class->get_root_window = gdk_broadway_screen_get_root_window;
screen_class->is_composited = gdk_broadway_screen_is_composited;
- screen_class->broadcast_client_message = gdk_broadway_screen_broadcast_client_message;
screen_class->get_setting = gdk_broadway_screen_get_setting;
screen_class->get_rgba_visual = gdk_broadway_screen_get_rgba_visual;
screen_class->get_system_visual = _gdk_broadway_screen_get_system_visual;
diff --git a/gdk/gdkscreenprivate.h b/gdk/gdkscreenprivate.h
index 928cdd9..8d46cd6 100644
--- a/gdk/gdkscreenprivate.h
+++ b/gdk/gdkscreenprivate.h
@@ -62,8 +62,6 @@ struct _GdkScreenClass
GdkVisual * (* get_system_visual) (GdkScreen *screen);
GdkVisual * (* get_rgba_visual) (GdkScreen *screen);
gboolean (* is_composited) (GdkScreen *screen);
- void (* broadcast_client_message) (GdkScreen *screen,
- GdkEvent *event);
gboolean (* get_setting) (GdkScreen *screen,
const gchar *name,
GValue *value);
diff --git a/gdk/mir/gdkmirscreen.c b/gdk/mir/gdkmirscreen.c
index 19f0915..b9e6286 100644
--- a/gdk/mir/gdkmirscreen.c
+++ b/gdk/mir/gdkmirscreen.c
@@ -419,14 +419,6 @@ gdk_mir_screen_is_composited (GdkScreen *screen)
return TRUE;
}
-static void
-gdk_mir_screen_broadcast_client_message (GdkScreen *screen,
- GdkEvent *event)
-{
- //g_printerr ("gdk_mir_screen_broadcast_client_message\n");
- // FIXME
-}
-
static gboolean
gdk_mir_screen_get_setting (GdkScreen *screen,
const gchar *name,
@@ -797,7 +789,6 @@ gdk_mir_screen_class_init (GdkMirScreenClass *klass)
screen_class->get_system_visual = gdk_mir_screen_get_system_visual;
screen_class->get_rgba_visual = gdk_mir_screen_get_rgba_visual;
screen_class->is_composited = gdk_mir_screen_is_composited;
- screen_class->broadcast_client_message = gdk_mir_screen_broadcast_client_message;
screen_class->get_setting = gdk_mir_screen_get_setting;
screen_class->visual_get_best_depth = gdk_mir_screen_visual_get_best_depth;
screen_class->visual_get_best_type = gdk_mir_screen_visual_get_best_type;
diff --git a/gdk/quartz/gdkevents-quartz.c b/gdk/quartz/gdkevents-quartz.c
index 01a4008..d43695d 100644
--- a/gdk/quartz/gdkevents-quartz.c
+++ b/gdk/quartz/gdkevents-quartz.c
@@ -1747,13 +1747,6 @@ _gdk_quartz_display_queue_events (GdkDisplay *display)
}
}
-void
-_gdk_quartz_screen_broadcast_client_message (GdkScreen *screen,
- GdkEvent *event)
-{
- /* Not supported. */
-}
-
gboolean
_gdk_quartz_screen_get_setting (GdkScreen *screen,
const gchar *name,
diff --git a/gdk/quartz/gdkprivate-quartz.h b/gdk/quartz/gdkprivate-quartz.h
index 1a7410c..69491b0 100644
--- a/gdk/quartz/gdkprivate-quartz.h
+++ b/gdk/quartz/gdkprivate-quartz.h
@@ -185,8 +185,6 @@ void _gdk_quartz_screen_init_visuals (GdkScreen *scr
GList * _gdk_quartz_screen_list_visuals (GdkScreen *screen);
/* Screen methods - events */
-void _gdk_quartz_screen_broadcast_client_message (GdkScreen *screen,
- GdkEvent *event);
gboolean _gdk_quartz_screen_get_setting (GdkScreen *screen,
const gchar *name,
GValue *value);
diff --git a/gdk/quartz/gdkscreen-quartz.c b/gdk/quartz/gdkscreen-quartz.c
index 31b06b8..df645e6 100644
--- a/gdk/quartz/gdkscreen-quartz.c
+++ b/gdk/quartz/gdkscreen-quartz.c
@@ -481,7 +481,6 @@ gdk_quartz_screen_class_init (GdkQuartzScreenClass *klass)
screen_class->get_monitor_geometry = gdk_quartz_screen_get_monitor_geometry;
screen_class->get_monitor_workarea = gdk_quartz_screen_get_monitor_workarea;
screen_class->is_composited = gdk_quartz_screen_is_composited;
- screen_class->broadcast_client_message = _gdk_quartz_screen_broadcast_client_message;
screen_class->get_setting = _gdk_quartz_screen_get_setting;
screen_class->get_rgba_visual = _gdk_quartz_screen_get_rgba_visual;
screen_class->get_system_visual = _gdk_quartz_screen_get_system_visual;
diff --git a/gdk/wayland/gdkscreen-wayland.c b/gdk/wayland/gdkscreen-wayland.c
index 4bdcbd6..8900f46 100644
--- a/gdk/wayland/gdkscreen-wayland.c
+++ b/gdk/wayland/gdkscreen-wayland.c
@@ -136,12 +136,6 @@ gdk_wayland_screen_is_composited (GdkScreen *screen)
}
static void
-gdk_wayland_screen_broadcast_client_message (GdkScreen *screen,
- GdkEvent *event)
-{
-}
-
-static void
notify_setting (GdkScreen *screen,
const gchar *setting)
{
@@ -800,7 +794,6 @@ _gdk_wayland_screen_class_init (GdkWaylandScreenClass *klass)
screen_class->get_system_visual = gdk_wayland_screen_get_system_visual;
screen_class->get_rgba_visual = gdk_wayland_screen_get_rgba_visual;
screen_class->is_composited = gdk_wayland_screen_is_composited;
- screen_class->broadcast_client_message = gdk_wayland_screen_broadcast_client_message;
screen_class->get_setting = gdk_wayland_screen_get_setting;
screen_class->visual_get_best_depth = gdk_wayland_screen_visual_get_best_depth;
screen_class->visual_get_best_type = gdk_wayland_screen_visual_get_best_type;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]