[libgda/LIBGDA_5.0] Removed useless warning



commit 1ff315da9aef1af542c1ec5187356464d1e4eb81
Author: Vivien Malerba <malerba gnome-db org>
Date:   Thu Mar 29 22:30:01 2012 +0200

    Removed useless warning

 libgda-ui/data-entries/gdaui-entry-combo.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libgda-ui/data-entries/gdaui-entry-combo.c b/libgda-ui/data-entries/gdaui-entry-combo.c
index 212724d..d7d38fa 100644
--- a/libgda-ui/data-entries/gdaui-entry-combo.c
+++ b/libgda-ui/data-entries/gdaui-entry-combo.c
@@ -312,8 +312,7 @@ void _gdaui_entry_combo_construct (GdauiEntryCombo* combo, GdauiSet *paramlist,
 	combo->priv->combo_entry = entry;
 
 	if (values) {
-		if (! _gdaui_combo_set_selected_ext (GDAUI_COMBO (entry), values, NULL))
-			g_warning (_("Could find row in data model with provided values"));
+		_gdaui_combo_set_selected_ext (GDAUI_COMBO (entry), values, NULL);
 		gdaui_entry_combo_set_reference_values (combo, values);
 		g_slist_free (values);
 	}



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