summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-panel/panel-multimonitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mate-panel/panel-multimonitor.c b/mate-panel/panel-multimonitor.c
index 8b4e7c62..9babc6a7 100644
--- a/mate-panel/panel-multimonitor.c
+++ b/mate-panel/panel-multimonitor.c
@@ -682,8 +682,8 @@ panel_multimonitor_get_bounds (GdkPoint *min,
g_return_if_fail (monitor_count > 0);
- min->x = min->y = INT_MAX;
- max->x = max->y = INT_MIN;
+ min->x = min->y = G_MAXINT;
+ max->x = max->y = G_MININT;
for (i = 0; i < monitor_count; i++) {
min->x = MIN (min->x, geometries[i].x);