[gtk+] Trivial NULL vs 0 confusion
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Trivial NULL vs 0 confusion
- Date: Wed, 1 Jun 2011 04:05:44 +0000 (UTC)
commit 4cd9009c57289aceddac419b328b55e2cf82a1e1
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jun 1 00:05:06 2011 -0400
Trivial NULL vs 0 confusion
gtk/gtkcombobox.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index b4f8211..dbe7679 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -5602,7 +5602,7 @@ gtk_combo_box_get_active_id (GtkComboBox *combo_box)
GtkTreeIter iter;
gint column;
- g_return_val_if_fail (GTK_IS_COMBO_BOX (combo_box), 0);
+ g_return_val_if_fail (GTK_IS_COMBO_BOX (combo_box), NULL);
column = combo_box->priv->id_column;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]