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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtktreepath.pre:106:    while (arr[n])    PGTK_PUSH_INT(arr[n++]);    if (!n)    ref_push_array(&empty_array);    else    f_aggregate(n);   }      void destroy()   { -  if (THIS->obj) +  if (THIS->obj && THIS->owned)    gtk_tree_path_free((GtkTreePath *)THIS->obj);    THIS->obj=0;    pgtk2_pop_n_elems(args);    PGTK_PUSH_INT(0);   }      GTK2.TreePath copy()   //! Creates a new GTK2.TreePath as a copy.   {    pgtk2_verify_inited();    {    GtkTreePath *a1;    a1=(GtkTreePath *)gtk_tree_path_copy((GtkTreePath *)THIS->obj);    pgtk2_pop_n_elems(args); -  push_gobjectclass(a1,pgtk2_tree_path_program); +  push_pgdk2object(a1,pgtk2_tree_path_program,1);    }   }      int compare(GTK2.TreePath b)   //! Compares two paths. If this path appears before b, -1 is returned.   //! If b before this path, 1 is return. If they are equal, 0 is returned.   {    pgtk2_verify_inited();    {    GtkTreePath *gp=NULL;