[mutter] core: Remove old unused methods
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] core: Remove old unused methods
- Date: Wed, 16 Oct 2013 05:30:06 +0000 (UTC)
commit 89d01d2c175c3cb0098b071e1118c78b1747af51
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Oct 16 01:20:41 2013 -0400
core: Remove old unused methods
src/core/core.c | 20 --------------------
src/core/core.h | 2 --
2 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/src/core/core.c b/src/core/core.c
index 1b2a9a9..8914487 100644
--- a/src/core/core.c
+++ b/src/core/core.c
@@ -469,26 +469,6 @@ meta_core_change_workspace (Display *xdisplay,
new_workspace));
}
-int
-meta_core_get_num_workspaces (Screen *xscreen)
-{
- MetaScreen *screen;
-
- screen = meta_screen_for_x_screen (xscreen);
-
- return meta_screen_get_n_workspaces (screen);
-}
-
-int
-meta_core_get_active_workspace (Screen *xscreen)
-{
- MetaScreen *screen;
-
- screen = meta_screen_for_x_screen (xscreen);
-
- return meta_workspace_index (screen->active_workspace);
-}
-
void
meta_core_show_window_menu (Display *xdisplay,
Window frame_xwindow,
diff --git a/src/core/core.h b/src/core/core.h
index 71bbcd6..7b861da 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -153,8 +153,6 @@ void meta_core_change_workspace (Display *xdisplay,
Window frame_xwindow,
int new_workspace);
-int meta_core_get_num_workspaces (Screen *xscreen);
-int meta_core_get_active_workspace (Screen *xscreen);
int meta_core_get_frame_workspace (Display *xdisplay,
Window frame_xwindow);
const char* meta_core_get_workspace_name_with_index (Display *xdisplay,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]