[gtk+/rendering-cleanup-next: 141/153] image: Add a default case to switch statement to avoid gcc warnings



commit 807d0194740078b506b5224a8ff46549cb4ecbe1
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 9467861..f0a9089 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -1740,6 +1740,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]