Same again ....



Oh, I'm in a much worse situation than what I thought ...

Sol_Problemes.c:207: warning: implicit declaration of function `gtk_combo_box_get_active_text'

which I replace with

gchar *my_gtk_combo_box_get_active_text (GtkComboBox *combo_box)
{

   GtkTreeIter iter;
   gchar *text = g_malloc(256);
   GtkTreeModel* model = gtk_combo_box_get_model(combo_box);
if (gtk_combo_box_get_active_iter (combo_box, &iter))
   gtk_tree_model_get (model, &iter, 0, &text, -1);

   return text;
}

That's since I redid all my system, but how come gtk_combo_box_get_active_text
disappeared ???

Any hint welcomed.
Cheers, A.O.





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