[evolution/gnome-3-8] Fix compiler warnings in alarm-dialog.c.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-8] Fix compiler warnings in alarm-dialog.c.
- Date: Tue, 2 Jul 2013 15:25:46 +0000 (UTC)
commit c97471bb1a3ea99f50c6906a55aea09720a45954
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Jul 2 11:11:16 2013 -0400
Fix compiler warnings in alarm-dialog.c.
(cherry picked from commit e27cdc4976e4a0df6a1a39178f79a51bc9263ad1)
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]