summaryrefslogtreecommitdiff
path: root/gtk/gtkinfobar.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2009-10-21 02:07:26 +0200
committerJavier Jardón <jjardon@gnome.org>2009-10-21 02:08:18 +0200
commit670e141b3a23c9578dcffe7b04d6a0ff84404bec (patch)
tree8ad059c6065f53ceca8d516ad5bd3c12dbfea684 /gtk/gtkinfobar.c
parent8e70bc988b5fc7589ee949be2f8f768bfd1a173d (diff)
downloadgtk+-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.c5
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;
}
}