From a7a0a0300fc9db607cfeb4fe463eb6d993333c1b Mon Sep 17 00:00:00 2001 From: Tomas Frydrych Date: Mon, 3 Nov 2008 10:03:58 +0000 Subject: [PATCH] Exposed meta_screen_get_workspace_by_index. --- src/core/screen-private.h | 3 --- src/include/screen.h | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/core/screen-private.h b/src/core/screen-private.h index d9de2f534..b622c9ce9 100644 --- a/src/core/screen-private.h +++ b/src/core/screen-private.h @@ -148,9 +148,6 @@ void meta_screen_queue_window_resizes (MetaScreen *scre int meta_screen_get_n_workspaces (MetaScreen *screen); -MetaWorkspace* meta_screen_get_workspace_by_index (MetaScreen *screen, - int index); - void meta_screen_set_cursor (MetaScreen *screen, MetaCursor cursor); void meta_screen_update_cursor (MetaScreen *screen); diff --git a/src/include/screen.h b/src/include/screen.h index 941f5e41f..2b785e23d 100644 --- a/src/include/screen.h +++ b/src/include/screen.h @@ -46,4 +46,8 @@ void meta_screen_unset_cm_selection (MetaScreen *screen); #endif GList *meta_screen_get_workspaces (MetaScreen *screen); + +MetaWorkspace* meta_screen_get_workspace_by_index (MetaScreen *screen, + int index); + #endif