[gtk+/rendering-cleanup-next: 142/199] image: Add a default case to switch statement to avoid gcc warnings
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup-next: 142/199] image: Add a default case to switch statement to avoid gcc warnings
- Date: Thu, 23 Sep 2010 21:31:02 +0000 (UTC)
commit cdc14bc7f15ea56e206b7f02c6ddc323931077e7
Author: Benjamin Otte <otte redhat com>
Date: Thu Sep 9 23:08:46 2010 +0200
image: Add a default case to switch statement to avoid gcc warnings
gtk/gtkimage.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index 367e44c..18c5c3f 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -1736,6 +1736,7 @@ gtk_image_draw (GtkWidget *widget,
break;
case GTK_IMAGE_EMPTY:
+ default:
g_assert_not_reached ();
pixbuf = NULL;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]