rem: gtk_tree_model_get_value (model, &iter, CURRENCY_NAME_COLUMN, &value1); gtk_tree_model_get_value (model, &iter, CURRENCY_ISO_CODE_COLUMN, &value2); gtk_tree_model_get_value (model, &iter, CURRENCY_NICKNAME_COLUMN, &value3);
add: entry_name = g_object_get_data ( G_OBJECT(model), "entry_name" ); entry_iso_code = g_object_get_data ( G_OBJECT(model), "entry_iso_code" ); entry_code = g_object_get_data ( G_OBJECT(model), "entry_code" );
context: gboolean select_currency_in_iso_list (GtkTreeSelection *selection,				      GtkTreeModel *model){    GtkTreeIter iter;    GValue value1 = {0, };    GValue value2 = {0, };    GValue value3 = {0, };    if (! gtk_tree_selection_get_selected (selection, NULL, &iter))	return(FALSE);    gtk_tree_model_get_value (model, &iter, CURRENCY_NAME_COLUMN, &value1);    gtk_tree_model_get_value (model, &iter, CURRENCY_ISO_CODE_COLUMN, &value2);    gtk_tree_model_get_value (model, &iter, CURRENCY_NICKNAME_COLUMN, &value3);    if (g_value_get_string(&value1))	gtk_entry_set_text ( GTK_ENTRY ( entree_nom ), 			     g_value_get_string(&value1) );    else	gtk_entry_set_text ( GTK_ENTRY ( entree_nom ), 			     "" );    if (g_value_get_string(&value2))	gtk_entry_set_text ( GTK_ENTRY ( entree_iso_code ), 			     g_value_get_string(&value2) );    else	gtk_entry_set_text ( GTK_ENTRY ( entree_iso_code ), 			     "" );    if (g_value_get_string(&value3))	gtk_entry_set_text ( GTK_ENTRY ( entree_code ), 			     g_value_get_string(&value3) );    else	gtk_entry_set_text ( GTK_ENTRY ( entree_code ), 			     "" );    return ( FALSE );} 