mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
menu: Remove unneeded invalidations
The gadgets should take care of those themselves
This commit is contained in:
parent
ef1ba12037
commit
8202d3fe89
@ -3674,9 +3674,6 @@ gtk_menu_handle_scrolling (GtkMenu *menu,
|
||||
{
|
||||
priv->upper_arrow_state = arrow_state;
|
||||
gtk_css_gadget_set_state (priv->top_arrow_gadget, arrow_state);
|
||||
|
||||
gdk_window_invalidate_rect (gtk_widget_get_window (GTK_WIDGET (menu)),
|
||||
&rect, FALSE);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -3748,9 +3745,6 @@ gtk_menu_handle_scrolling (GtkMenu *menu,
|
||||
{
|
||||
priv->lower_arrow_state = arrow_state;
|
||||
gtk_css_gadget_set_state (priv->bottom_arrow_gadget, arrow_state);
|
||||
|
||||
gdk_window_invalidate_rect (gtk_widget_get_window (GTK_WIDGET (menu)),
|
||||
&rect, FALSE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user