[metacity] screen: remove compositor_data



commit bce59d30293834c6cda5dbe2971b80574fa27a8a
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Fri Mar 3 18:16:37 2017 +0200

    screen: remove compositor_data

 src/core/screen-private.h |    3 ---
 src/core/screen.c         |   14 --------------
 src/include/screen.h      |    4 ----
 3 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/src/core/screen-private.h b/src/core/screen-private.h
index 10590cc..abd9ca5 100644
--- a/src/core/screen-private.h
+++ b/src/core/screen-private.h
@@ -131,9 +131,6 @@ struct _MetaScreen
 
   /* gc for XOR on root window */
   GC root_xor_gc;
-
-  /* Managed by compositor.c */
-  gpointer compositor_data;
 };
 
 MetaScreen*   meta_screen_new                 (MetaDisplay                *display,
diff --git a/src/core/screen.c b/src/core/screen.c
index 51fd1d0..69b877b 100644
--- a/src/core/screen.c
+++ b/src/core/screen.c
@@ -501,7 +501,6 @@ meta_screen_new (MetaDisplay *display,
   screen->columns_of_workspaces = -1;
   screen->vertical_workspaces = FALSE;
   screen->starting_corner = META_SCREEN_TOPLEFT;
-  screen->compositor_data = NULL;
 
   {
     XFontStruct *font_info;
@@ -2864,19 +2863,6 @@ meta_screen_get_size (MetaScreen *screen,
   *height = screen->rect.height;
 }
 
-gpointer
-meta_screen_get_compositor_data (MetaScreen *screen)
-{
-  return screen->compositor_data;
-}
-
-void
-meta_screen_set_compositor_data (MetaScreen *screen,
-                                 gpointer    compositor)
-{
-  screen->compositor_data = compositor;
-}
-
 void
 meta_screen_set_cm_selection (MetaScreen *screen)
 {
diff --git a/src/include/screen.h b/src/include/screen.h
index 8ccdb69..7a27a0a 100644
--- a/src/include/screen.h
+++ b/src/include/screen.h
@@ -32,10 +32,6 @@ void meta_screen_get_size (MetaScreen *screen,
                            int        *width,
                            int        *height);
 
-gpointer meta_screen_get_compositor_data (MetaScreen *screen);
-void meta_screen_set_compositor_data (MetaScreen *screen,
-                                      gpointer    info);
-
 MetaScreen *meta_screen_for_x_screen (Screen *xscreen);
 
 void meta_screen_set_cm_selection (MetaScreen *screen);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]