[gtksourceview/wip/fix-warnings] CompletionInfo: fix warnings
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/fix-warnings] CompletionInfo: fix warnings
- Date: Sun, 9 Aug 2015 15:15:48 +0000 (UTC)
commit 32fe00c114c21006381ca8039cb9e540ff88f202
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Aug 9 17:07:19 2015 +0200
CompletionInfo: fix warnings
gtksourceview/gtksourcecompletioninfo.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletioninfo.c b/gtksourceview/gtksourcecompletioninfo.c
index 134a1e0..23edf42 100644
--- a/gtksourceview/gtksourcecompletioninfo.c
+++ b/gtksourceview/gtksourcecompletioninfo.c
@@ -410,6 +410,10 @@ compensate_for_gravity (GtkSourceCompletionInfo *window,
case GDK_GRAVITY_EAST:
*x = w;
break;
+ case GDK_GRAVITY_NORTH_WEST:
+ case GDK_GRAVITY_WEST:
+ case GDK_GRAVITY_SOUTH_WEST:
+ case GDK_GRAVITY_STATIC:
default:
*x = 0;
break;
@@ -428,6 +432,10 @@ compensate_for_gravity (GtkSourceCompletionInfo *window,
case GDK_GRAVITY_SOUTH_WEST:
*y = w;
break;
+ case GDK_GRAVITY_NORTH:
+ case GDK_GRAVITY_NORTH_EAST:
+ case GDK_GRAVITY_NORTH_WEST:
+ case GDK_GRAVITY_STATIC:
default:
*y = 0;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]