summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-06-25 13:35:06 +0200
committerraveit65 <[email protected]>2020-07-13 13:13:40 +0200
commite8a1265b3ab6109d3321b1d25d1f84edc29dd634 (patch)
treea4fb204defd25bc68083a07d38c3bcc3ee1bae88
parentbb456b90a36624b55deae5f82e7a8db24d51a1a7 (diff)
downloadmate-panel-e8a1265b3ab6109d3321b1d25d1f84edc29dd634.tar.bz2
mate-panel-e8a1265b3ab6109d3321b1d25d1f84edc29dd634.tar.xz
panel-multimonitor: Do not require limits.h macros
-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);