[gnome-panel] xstuff: fix build warnings
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] xstuff: fix build warnings
- Date: Sat, 26 Sep 2015 22:01:29 +0000 (UTC)
commit f131cb777ee5f978ff0e55afaaceef72708e06cf
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Sep 27 00:33:51 2015 +0300
xstuff: fix build warnings
gnome-panel/xstuff.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gnome-panel/xstuff.c b/gnome-panel/xstuff.c
index 101f71e..a10dc35 100644
--- a/gnome-panel/xstuff.c
+++ b/gnome-panel/xstuff.c
@@ -120,6 +120,9 @@ zoom_draw (GtkWidget *widget,
x = 0;
y = (height - gdk_pixbuf_get_height (scaled)) / 2;
break;
+
+ default:
+ break;
}
@@ -192,6 +195,9 @@ draw_zoom_animation_composited (GdkScreen *gscreen,
wx = x;
wy = y - h * (ZOOM_FACTOR / 2);
break;
+
+ default:
+ break;
}
gtk_window_move (GTK_WINDOW (win), wx, wy);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]