[gnome-shell] ShellGlobal: Remove root_pixmap left-over



commit 8be28004861cb09fb8447667fa9e6f69e004a969
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Thu Dec 9 19:10:34 2010 -0500

    ShellGlobal: Remove root_pixmap left-over
    
    Still had a few references to the root_pixmap actor that was removed
    when we switched to using the root actor support in Mutter.

 src/shell-global.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/shell-global.c b/src/shell-global.c
index 77e2d85..71eb728 100644
--- a/src/shell-global.c
+++ b/src/shell-global.c
@@ -60,8 +60,6 @@ struct _ShellGlobal {
   const char *userdatadir;
   StFocusManager *focus_manager;
 
-  /* Displays the root window; see shell_global_create_root_pixmap_actor() */
-  ClutterActor *root_pixmap;
   GdkWindow    *stage_window;
 
   gint last_change_screen_width, last_change_screen_height;
@@ -220,7 +218,6 @@ shell_global_init (ShellGlobal *global)
   g_signal_connect (global->grab_notifier, "grab-notify", G_CALLBACK (grab_notify), global);
   global->gtk_grab_active = FALSE;
 
-  global->root_pixmap = NULL;
   global->stage_window = NULL;
 
   global->input_mode = SHELL_STAGE_INPUT_MODE_NORMAL;
@@ -656,11 +653,6 @@ update_screen_size (gpointer data)
   global->last_change_screen_width = width;
   global->last_change_screen_height = height;
 
-  /* update size of background actor to fix tiled backgrounds */
-  if (global->root_pixmap)
-    clutter_actor_set_size (CLUTTER_ACTOR (global->root_pixmap),
-                            width, height);
-
   return FALSE;
 }
 



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