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



commit 507e4b84d509ffb21d2ff4ddb086f06c9b276fce
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]