From e27cdc4976e4a0df6a1a39178f79a51bc9263ad1 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 2 Jul 2013 11:11:16 -0400 Subject: Fix compiler warnings in alarm-dialog.c. --- calendar/gui/dialogs/alarm-dialog.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/calendar/gui/dialogs/alarm-dialog.c b/calendar/gui/dialogs/alarm-dialog.c index 12dba4ce3e..a51fadef5f 100644 --- a/calendar/gui/dialogs/alarm-dialog.c +++ b/calendar/gui/dialogs/alarm-dialog.c @@ -824,8 +824,7 @@ build_combobox_widget (GtkWidget *combobox, GtkListStore *store; gint i; - g_return_val_if_fail (combo != NULL, FALSE); - g_return_val_if_fail (GTK_IS_COMBO_BOX (combo), FALSE); + g_return_if_fail (GTK_IS_COMBO_BOX (combo)); store = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_BOOLEAN); gtk_combo_box_set_model (combo, GTK_TREE_MODEL (store)); -- cgit