Re: gtk_drag_dest_set & GtkTargetList*



monkeyiq dingoblue net au writes:

> > OTOH, GTK+-2.0 does add:
> > 
> >  GtkTargetList* gtk_drag_dest_get_target_list (GtkWidget      *widget);
> >  void           gtk_drag_dest_set_target_list (GtkWidget      *widget,
> >                                                GtkTargetList  *target_list);
> 
> After looking through gtkdnd.c for both 1.2.8 and 1.3.2 I see the
> comment
> 
> /* There probably should be functions for setting the targets
>  * as a GtkTargetList
>  */
> 
> And in both gtk_drag_begin() is the only function to support this new
> style. The above called mentioned by owen must be in gtk+ cvs || >1.3.2
> 
> Would it be acceptable to create a patch for 1.2.9 that adds these
> functions? 

We aren't adding API to GTK+-1.2.x except in the most exceptional
circumstances at this point. THis wouldn't be that sort of exceptional
circumstance.

> If so, when is the planned 
> release of gtk+-1.2.10 so that I can assume these functions are
> available to people who haven't patched
> their gtk+ just to build my app?

Tomorrow morning. (Fingers crossed.)

                                        Owen




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