window: Fix a compiler warning

This commit is contained in:
Florian Müllner 2013-08-21 00:32:23 +02:00
parent f28fed51da
commit 4366687b95

View File

@ -5831,7 +5831,7 @@ meta_window_get_outer_rect (const MetaWindow *window,
if (window->has_custom_frame_extents)
{
GtkBorder *extents = &window->custom_frame_extents;
const GtkBorder *extents = &window->custom_frame_extents;
rect->x += extents->left;
rect->y += extents->top;
rect->width -= extents->left + extents->right;