[metacity] compositor: remove unmaximize_window vfunc
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] compositor: remove unmaximize_window vfunc
- Date: Fri, 18 Oct 2019 16:44:09 +0000 (UTC)
commit c9b991761618060f120baef055063b06d7ebd1c8
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Fri Oct 18 17:00:01 2019 +0300
compositor: remove unmaximize_window vfunc
src/compositor/meta-compositor-none.c | 7 -------
src/compositor/meta-compositor-private.h | 3 ---
src/compositor/meta-compositor-vulkan.c | 7 -------
src/compositor/meta-compositor-xrender.c | 7 -------
src/compositor/meta-compositor.c | 5 -----
5 files changed, 29 deletions(-)
---
diff --git a/src/compositor/meta-compositor-none.c b/src/compositor/meta-compositor-none.c
index c2b3aacd..09002e87 100644
--- a/src/compositor/meta-compositor-none.c
+++ b/src/compositor/meta-compositor-none.c
@@ -86,12 +86,6 @@ meta_compositor_none_maximize_window (MetaCompositor *compositor,
{
}
-static void
-meta_compositor_none_unmaximize_window (MetaCompositor *compositor,
- MetaWindow *window)
-{
-}
-
static void
meta_compositor_none_sync_screen_size (MetaCompositor *compositor)
{
@@ -130,7 +124,6 @@ meta_compositor_none_class_init (MetaCompositorNoneClass *none_class)
compositor_class->set_updates_frozen = meta_compositor_none_set_updates_frozen;
compositor_class->process_event = meta_compositor_none_process_event;
compositor_class->maximize_window = meta_compositor_none_maximize_window;
- compositor_class->unmaximize_window = meta_compositor_none_unmaximize_window;
compositor_class->sync_screen_size = meta_compositor_none_sync_screen_size;
compositor_class->sync_window_geometry = meta_compositor_none_sync_window_geometry;
compositor_class->pre_paint = meta_compositor_none_pre_paint;
diff --git a/src/compositor/meta-compositor-private.h b/src/compositor/meta-compositor-private.h
index 7a9ea540..af1c8839 100644
--- a/src/compositor/meta-compositor-private.h
+++ b/src/compositor/meta-compositor-private.h
@@ -60,9 +60,6 @@ struct _MetaCompositorClass
void (* maximize_window) (MetaCompositor *compositor,
MetaWindow *window);
- void (* unmaximize_window) (MetaCompositor *compositor,
- MetaWindow *window);
-
void (* sync_screen_size) (MetaCompositor *compositor);
void (* sync_window_geometry) (MetaCompositor *compositor,
diff --git a/src/compositor/meta-compositor-vulkan.c b/src/compositor/meta-compositor-vulkan.c
index 469cf911..28b99b00 100644
--- a/src/compositor/meta-compositor-vulkan.c
+++ b/src/compositor/meta-compositor-vulkan.c
@@ -1321,12 +1321,6 @@ meta_compositor_vulkan_maximize_window (MetaCompositor *compositor,
{
}
-static void
-meta_compositor_vulkan_unmaximize_window (MetaCompositor *compositor,
- MetaWindow *window)
-{
-}
-
static void
meta_compositor_vulkan_sync_screen_size (MetaCompositor *compositor)
{
@@ -1369,7 +1363,6 @@ meta_compositor_vulkan_class_init (MetaCompositorVulkanClass *vulkan_class)
compositor_class->set_updates_frozen = meta_compositor_vulkan_set_updates_frozen;
compositor_class->process_event = meta_compositor_vulkan_process_event;
compositor_class->maximize_window = meta_compositor_vulkan_maximize_window;
- compositor_class->unmaximize_window = meta_compositor_vulkan_unmaximize_window;
compositor_class->sync_screen_size = meta_compositor_vulkan_sync_screen_size;
compositor_class->sync_window_geometry = meta_compositor_vulkan_sync_window_geometry;
compositor_class->pre_paint = meta_compositor_vulkan_pre_paint;
diff --git a/src/compositor/meta-compositor-xrender.c b/src/compositor/meta-compositor-xrender.c
index a7333c16..9b59443e 100644
--- a/src/compositor/meta-compositor-xrender.c
+++ b/src/compositor/meta-compositor-xrender.c
@@ -1875,12 +1875,6 @@ meta_compositor_xrender_maximize_window (MetaCompositor *compositor,
{
}
-static void
-meta_compositor_xrender_unmaximize_window (MetaCompositor *compositor,
- MetaWindow *window)
-{
-}
-
static void
meta_compositor_xrender_sync_screen_size (MetaCompositor *compositor)
{
@@ -2016,7 +2010,6 @@ meta_compositor_xrender_class_init (MetaCompositorXRenderClass *xrender_class)
compositor_class->set_updates_frozen = meta_compositor_xrender_set_updates_frozen;
compositor_class->process_event = meta_compositor_xrender_process_event;
compositor_class->maximize_window = meta_compositor_xrender_maximize_window;
- compositor_class->unmaximize_window = meta_compositor_xrender_unmaximize_window;
compositor_class->sync_screen_size = meta_compositor_xrender_sync_screen_size;
compositor_class->sync_window_geometry = meta_compositor_xrender_sync_window_geometry;
compositor_class->pre_paint = meta_compositor_xrender_pre_paint;
diff --git a/src/compositor/meta-compositor.c b/src/compositor/meta-compositor.c
index 1e8349e0..7ecf6ab7 100644
--- a/src/compositor/meta-compositor.c
+++ b/src/compositor/meta-compositor.c
@@ -593,11 +593,6 @@ void
meta_compositor_unmaximize_window (MetaCompositor *compositor,
MetaWindow *window)
{
- MetaCompositorClass *compositor_class;
-
- compositor_class = META_COMPOSITOR_GET_CLASS (compositor);
-
- compositor_class->unmaximize_window (compositor, window);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]