From 8be28004861cb09fb8447667fa9e6f69e004a969 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Thu, 9 Dec 2010 19:10:34 -0500 Subject: [PATCH] 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 file changed, 8 deletions(-) diff --git a/src/shell-global.c b/src/shell-global.c index 77e2d851a..71eb72895 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; }