[metacity] compositor: remove set_updates_frozen vfunc
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] compositor: remove set_updates_frozen vfunc
- Date: Fri, 18 Oct 2019 23:45:57 +0000 (UTC)
commit 1292abdd4f7040672c3eb806f0d92e4829b0f5dd
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Fri Oct 18 23:39:10 2019 +0300
compositor: remove set_updates_frozen vfunc
src/compositor/meta-compositor-none.c | 8 --------
src/compositor/meta-compositor-private.h | 4 ----
src/compositor/meta-compositor-vulkan.c | 8 --------
src/compositor/meta-compositor-xrender.c | 8 --------
src/compositor/meta-compositor.c | 5 -----
5 files changed, 33 deletions(-)
---
diff --git a/src/compositor/meta-compositor-none.c b/src/compositor/meta-compositor-none.c
index b3bcc0ce..0665d4a5 100644
--- a/src/compositor/meta-compositor-none.c
+++ b/src/compositor/meta-compositor-none.c
@@ -59,13 +59,6 @@ meta_compositor_none_window_opacity_changed (MetaCompositor *compositor,
{
}
-static void
-meta_compositor_none_set_updates_frozen (MetaCompositor *compositor,
- MetaWindow *window,
- gboolean updates_frozen)
-{
-}
-
static void
meta_compositor_none_process_event (MetaCompositor *compositor,
XEvent *event,
@@ -107,7 +100,6 @@ meta_compositor_none_class_init (MetaCompositorNoneClass *none_class)
compositor_class->remove_window = meta_compositor_none_remove_window;
compositor_class->hide_window = meta_compositor_none_hide_window;
compositor_class->window_opacity_changed = meta_compositor_none_window_opacity_changed;
- compositor_class->set_updates_frozen = meta_compositor_none_set_updates_frozen;
compositor_class->process_event = meta_compositor_none_process_event;
compositor_class->sync_screen_size = meta_compositor_none_sync_screen_size;
compositor_class->sync_window_geometry = meta_compositor_none_sync_window_geometry;
diff --git a/src/compositor/meta-compositor-private.h b/src/compositor/meta-compositor-private.h
index 4bfd4ada..006cc199 100644
--- a/src/compositor/meta-compositor-private.h
+++ b/src/compositor/meta-compositor-private.h
@@ -45,10 +45,6 @@ struct _MetaCompositorClass
void (* window_opacity_changed) (MetaCompositor *compositor,
MetaSurface *surface);
- void (* set_updates_frozen) (MetaCompositor *compositor,
- MetaWindow *window,
- gboolean updates_frozen);
-
void (* process_event) (MetaCompositor *compositor,
XEvent *event,
MetaWindow *window);
diff --git a/src/compositor/meta-compositor-vulkan.c b/src/compositor/meta-compositor-vulkan.c
index e92de311..8c7bea35 100644
--- a/src/compositor/meta-compositor-vulkan.c
+++ b/src/compositor/meta-compositor-vulkan.c
@@ -1294,13 +1294,6 @@ meta_compositor_vulkan_window_opacity_changed (MetaCompositor *compositor,
{
}
-static void
-meta_compositor_vulkan_set_updates_frozen (MetaCompositor *compositor,
- MetaWindow *window,
- gboolean updates_frozen)
-{
-}
-
static void
meta_compositor_vulkan_process_event (MetaCompositor *compositor,
XEvent *event,
@@ -1346,7 +1339,6 @@ meta_compositor_vulkan_class_init (MetaCompositorVulkanClass *vulkan_class)
compositor_class->remove_window = meta_compositor_vulkan_remove_window;
compositor_class->hide_window = meta_compositor_vulkan_hide_window;
compositor_class->window_opacity_changed = meta_compositor_vulkan_window_opacity_changed;
- compositor_class->set_updates_frozen = meta_compositor_vulkan_set_updates_frozen;
compositor_class->process_event = meta_compositor_vulkan_process_event;
compositor_class->sync_screen_size = meta_compositor_vulkan_sync_screen_size;
compositor_class->sync_window_geometry = meta_compositor_vulkan_sync_window_geometry;
diff --git a/src/compositor/meta-compositor-xrender.c b/src/compositor/meta-compositor-xrender.c
index 2b03bea6..9cde995a 100644
--- a/src/compositor/meta-compositor-xrender.c
+++ b/src/compositor/meta-compositor-xrender.c
@@ -1718,13 +1718,6 @@ meta_compositor_xrender_window_opacity_changed (MetaCompositor *compositor,
}
}
-static void
-meta_compositor_xrender_set_updates_frozen (MetaCompositor *compositor,
- MetaWindow *window,
- gboolean updates_frozen)
-{
-}
-
static void
meta_compositor_xrender_process_event (MetaCompositor *compositor,
XEvent *event,
@@ -1878,7 +1871,6 @@ meta_compositor_xrender_class_init (MetaCompositorXRenderClass *xrender_class)
compositor_class->remove_window = meta_compositor_xrender_remove_window;
compositor_class->hide_window = meta_compositor_xrender_hide_window;
compositor_class->window_opacity_changed = meta_compositor_xrender_window_opacity_changed;
- compositor_class->set_updates_frozen = meta_compositor_xrender_set_updates_frozen;
compositor_class->process_event = meta_compositor_xrender_process_event;
compositor_class->sync_screen_size = meta_compositor_xrender_sync_screen_size;
compositor_class->sync_window_geometry = meta_compositor_xrender_sync_window_geometry;
diff --git a/src/compositor/meta-compositor.c b/src/compositor/meta-compositor.c
index 30e69e07..d51620aa 100644
--- a/src/compositor/meta-compositor.c
+++ b/src/compositor/meta-compositor.c
@@ -524,11 +524,6 @@ meta_compositor_set_updates_frozen (MetaCompositor *compositor,
MetaWindow *window,
gboolean updates_frozen)
{
- MetaCompositorClass *compositor_class;
-
- compositor_class = META_COMPOSITOR_GET_CLASS (compositor);
-
- compositor_class->set_updates_frozen (compositor, window, updates_frozen);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]