[mutter] Fix bad declarations
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] Fix bad declarations
- Date: Mon, 11 Jun 2012 14:48:14 +0000 (UTC)
commit 50bc4ad0e1c1c3f8e35f17c609512d75a993a8b5
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Jun 11 10:12:39 2012 -0400
Fix bad declarations
meta_screen_get_current_monitor now returns an integer, not a pointer.
src/core/place.c | 2 +-
src/core/window.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/core/place.c b/src/core/place.c
index 7a5eb09..fcb2f69 100644
--- a/src/core/place.c
+++ b/src/core/place.c
@@ -105,7 +105,7 @@ find_next_cascade (MetaWindow *window,
int window_width, window_height;
int cascade_stage;
MetaRectangle work_area;
- const MetaMonitorInfo* current;
+ int current;
sorted = g_list_copy (windows);
sorted = g_list_sort (sorted, northwestcmp);
diff --git a/src/core/window.c b/src/core/window.c
index 8da7d72..d93026c 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -3674,7 +3674,7 @@ meta_window_can_tile_maximized (MetaWindow *window)
gboolean
meta_window_can_tile_side_by_side (MetaWindow *window)
{
- const MetaMonitorInfo *monitor;
+ int monitor;
MetaRectangle tile_area;
MetaFrameBorders borders;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]