forked from AuroraMiddleware/gtk
widget: Remove menu special-casing
This commit is contained in:
parent
9e15f3df75
commit
7e8393ba0f
@ -11891,9 +11891,6 @@ gtk_widget_get_parent_muxer (GtkWidget *widget,
|
|||||||
if (GTK_IS_WINDOW (widget))
|
if (GTK_IS_WINDOW (widget))
|
||||||
return gtk_application_get_parent_muxer_for_window (GTK_WINDOW (widget));
|
return gtk_application_get_parent_muxer_for_window (GTK_WINDOW (widget));
|
||||||
|
|
||||||
if (GTK_IS_MENU (widget))
|
|
||||||
parent = gtk_menu_get_attach_widget (GTK_MENU (widget));
|
|
||||||
else
|
|
||||||
parent = _gtk_widget_get_parent (widget);
|
parent = _gtk_widget_get_parent (widget);
|
||||||
|
|
||||||
if (parent)
|
if (parent)
|
||||||
|
Loading…
Reference in New Issue
Block a user