forked from AuroraMiddleware/gtk
gtkwidget: Expose gtk_widget_common_ancestor()
This function will be useful in other places, such as determining the widgets that must receive crossing events after pointer picking points to another widget.
This commit is contained in:
parent
799428aaea
commit
f50875f8d0
@ -5649,7 +5649,7 @@ gtk_widget_size_allocate (GtkWidget *widget,
|
||||
* @widget_b or %NULL if @widget_a and @widget_b do not
|
||||
* share a common ancestor.
|
||||
**/
|
||||
static GtkWidget *
|
||||
GtkWidget *
|
||||
gtk_widget_common_ancestor (GtkWidget *widget_a,
|
||||
GtkWidget *widget_b)
|
||||
{
|
||||
|
@ -313,6 +313,9 @@ gboolean gtk_widget_focus_move (GtkWidget *wi
|
||||
GtkDirectionType direction,
|
||||
GPtrArray *focus_order);
|
||||
|
||||
GtkWidget * gtk_widget_common_ancestor (GtkWidget *widget_a,
|
||||
GtkWidget *widget_b);
|
||||
|
||||
/* inline getters */
|
||||
|
||||
static inline gboolean
|
||||
|
Loading…
Reference in New Issue
Block a user