summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2014-05-22 18:01:07 -0400
committerJasper St. Pierre <jstpierre@mecheye.net>2014-05-27 15:15:57 -0400
commit266166a2d679020bb516249bce1a5736901d131e (patch)
treec5dbd573c767ffebaa4b6127f19b161ce7d26aaf
parent3a0af0faaebb1af75925c70ad98e73c61e57639b (diff)
downloadmutter-266166a2d679020bb516249bce1a5736901d131e.tar.gz
window: Make meta_window_unmaximize_with_gravity internal
-rw-r--r--src/core/window-private.h5
-rw-r--r--src/core/window.c2
2 files changed, 1 insertions, 6 deletions
diff --git a/src/core/window-private.h b/src/core/window-private.h
index a0c1283eb..35dfb770e 100644
--- a/src/core/window-private.h
+++ b/src/core/window-private.h
@@ -531,11 +531,6 @@ void meta_window_tile (MetaWindow *window);
void meta_window_maximize_internal (MetaWindow *window,
MetaMaximizeFlags directions,
MetaRectangle *saved_rect);
-void meta_window_unmaximize_with_gravity (MetaWindow *window,
- MetaMaximizeFlags directions,
- int new_width,
- int new_height,
- int gravity);
void meta_window_make_fullscreen_internal (MetaWindow *window);
void meta_window_update_fullscreen_monitors (MetaWindow *window,
diff --git a/src/core/window.c b/src/core/window.c
index 44bcc4ab8..749ceb5fd 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -3167,7 +3167,7 @@ meta_window_unmaximize (MetaWindow *window,
* Unlike meta_window_unmaximize(), tiling is not restored for windows
* with a tile mode other than META_TILE_NONE.
*/
-void
+static void
meta_window_unmaximize_with_gravity (MetaWindow *window,
MetaMaximizeFlags directions,
int new_width,