[metacity] edge-resistance: fix build warnings
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] edge-resistance: fix build warnings
- Date: Sun, 20 Sep 2015 18:10:24 +0000 (UTC)
commit 67a5d99077428887f0e459b21c6842c14808e017
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Sep 20 05:41:58 2015 +0300
edge-resistance: fix build warnings
src/core/edge-resistance.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/core/edge-resistance.c b/src/core/edge-resistance.c
index 20032df..efe336e 100644
--- a/src/core/edge-resistance.c
+++ b/src/core/edge-resistance.c
@@ -427,6 +427,8 @@ apply_edge_resistance (MetaWindow *window,
case META_EDGE_SCREEN:
timeout_length_ms = TIMEOUT_RESISTANCE_LENGTH_MS_SCREEN;
break;
+ default:
+ break;
}
if (!resistance_data->timeout_setup &&
@@ -478,6 +480,8 @@ apply_edge_resistance (MetaWindow *window,
else
threshold = PIXEL_DISTANCE_THRESHOLD_AWAYFROM_SCREEN;
break;
+ default:
+ break;
}
if (ABS (compare - new_pos) < threshold)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]