[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Graveman-cvs] Changes to graveman/current/src/tools.c
From: |
sylvain cresto |
Subject: |
[Graveman-cvs] Changes to graveman/current/src/tools.c |
Date: |
Mon, 28 Mar 2005 19:10:28 -0500 |
Index: graveman/current/src/tools.c
diff -u graveman/current/src/tools.c:1.18 graveman/current/src/tools.c:1.19
--- graveman/current/src/tools.c:1.18 Sun Mar 27 23:51:07 2005
+++ graveman/current/src/tools.c Tue Mar 29 00:10:26 2005
@@ -94,11 +94,11 @@
}
/* retourne la valeur d'un combo */
-gchar *get_combo_value(GtkWidget *Acombo)
+gpointer get_combo_value(GtkWidget *Acombo)
{
GtkTreeModel *Lmodel = gtk_combo_box_get_model(GTK_COMBO_BOX(Acombo));
GtkTreeIter Liter;
- gchar *Lvalue = NULL;
+ gpointer *Lvalue = NULL;
if (!gtk_combo_box_get_active_iter(GTK_COMBO_BOX(Acombo), &Liter)) return
g_strdup("");
gtk_tree_model_get(Lmodel, &Liter, 0, &Lvalue, -1);