Fix bad declarations

meta_screen_get_current_monitor now returns an integer, not a pointer.
This commit is contained in:
Jasper St. Pierre 2012-06-11 10:12:39 -04:00
parent 277e8bdad9
commit 50bc4ad0e1
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;