pike.git / src / post_modules / GTK2 / source / gtktreemodel.pre

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtktreemodel.pre:109:    {    int i;    int cols;    struct object *o1;    GtkTreeIter *gti;    get_all_args("get_row",args,"%o",&o1);    gti=(GtkTreeIter *)get_pg2object(o1,pgtk2_tree_iter_program);    pgtk2_pop_n_elems(args);    cols=gtk_tree_model_get_n_columns(GTK_TREE_MODEL(THIS->obj));    for (i=0; i<cols; i++) { -  GValue v={0,}; +  GValue v={0};    gtk_tree_model_get_value(GTK_TREE_MODEL(THIS->obj),gti,i,&v);    pgtk2_push_gvalue_rt(&v);    }    f_aggregate(cols);    }   }      mixed get_value(GTK2.TreeIter iter, int column)   //! Get value at column of iter.   {    pgtk2_verify_inited();    { -  GValue v={0,}; +  GValue v={0};    struct object *o1;    INT_TYPE col;       get_all_args("get_value",args,"%o%i",&o1,&col);    gtk_tree_model_get_value(GTK_TREE_MODEL(THIS->obj),    (GtkTreeIter *)get_pg2object(o1,pgtk2_tree_iter_program),col,&v);    pgtk2_pop_n_elems(args);    pgtk2_push_gvalue_rt(&v);    g_value_unset(&v);    }