forked from AuroraMiddleware/gtk
screen: Remove unused vfunc
GdkScreenClass.broadcast_client_message was unused, but a bunch of backends still had functions (not) implementing it.
This commit is contained in:
parent
ad64402a55
commit
8d54c641f1
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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,
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -135,12 +135,6 @@ gdk_wayland_screen_is_composited (GdkScreen *screen)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user