[evolution] Fix compiler warnings in alarm-dialog.c.



commit e27cdc4976e4a0df6a1a39178f79a51bc9263ad1
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Jul 2 11:11:16 2013 -0400

    Fix compiler warnings in alarm-dialog.c.

 calendar/gui/dialogs/alarm-dialog.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/calendar/gui/dialogs/alarm-dialog.c b/calendar/gui/dialogs/alarm-dialog.c
index 12dba4c..a51fade 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));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]