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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtktreedragsource.pre:30:    int res;    get_all_args("drag_data_get",args,"%o",&o1);    sel=(GtkSelectionData *)g_malloc(sizeof(GtkSelectionData));    if (sel==NULL)    SIMPLE_OUT_OF_MEMORY_ERROR("drag_data_get",sizeof(GtkSelectionData));    res=gtk_tree_drag_source_drag_data_get(GTK_TREE_DRAG_SOURCE(THIS->obj),    (GtkTreePath *)get_gobject(o1),sel);       pgtk2_pop_n_elems(args);    if (res) -  push_gobjectclass(sel,pgtk2_selection_data_program); +  push_pgdk2object(sel,pgtk2_selection_data_program,1);    else    push_int(0);    }   }      int row_draggable(GTK2.TreePath path)   //! Asks the source whether a particular row can be used as the source of a   //! DND operation. If the source doesn't implement this interface, the row   //! is assumed draggable.   {