diff options
author | Javier Jardón <jjardon@gnome.org> | 2009-10-21 02:07:26 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2009-10-21 02:08:18 +0200 |
commit | 670e141b3a23c9578dcffe7b04d6a0ff84404bec (patch) | |
tree | 8ad059c6065f53ceca8d516ad5bd3c12dbfea684 /gtk/gtkinfobar.c | |
parent | 8e70bc988b5fc7589ee949be2f8f768bfd1a173d (diff) | |
download | gtk+-670e141b3a23c9578dcffe7b04d6a0ff84404bec.tar.gz |
Fix some compilation warning
Added some default cases and assert if reached
Diffstat (limited to 'gtk/gtkinfobar.c')
-rw-r--r-- | gtk/gtkinfobar.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c index 9ada2c93a3..be1e875269 100644 --- a/gtk/gtkinfobar.c +++ b/gtk/gtkinfobar.c @@ -569,6 +569,11 @@ gtk_info_bar_update_colors (GtkInfoBar *info_bar) fg = &other_default_border_color; bg = &other_default_fill_color; break; + + default: + g_assert_not_reached(); + fg = NULL; + bg = NULL; } } |