Re: gtktreeview.c



On Feb 8, 2012, at 10:05 PM, earlgrey wrote:
> ----------------------------------------------------------------------
> ...
> 	  
> if ((anchor && !gtk_tree_path_compare (anchor, path))
> 
> 	      
> || !_gtk_tree_view_column_has_editable_cell (column))
> 
> 
> ...
> 
> ----------------------------------------------------------------------
> 
> 
> What does the "!" before "
> _gtk_tree_view_column_has_editable_cell
> (column)" stand for  ?

It was introduced to:


            * gtk/gtktreeview.c (gtk_tree_view_button_press): send cell event
            on first click when cell isn't editable

to fix #77862.

However, when this fix was introduced, cursor was used in the if-statement instead of anchor, which might be why things changed?


regards,

-kris.



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