mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-07 19:30:12 +00:00
notebook: remove check for is_drawable
When we reach that code, the widget will always be drawable
This commit is contained in:
parent
c46ce97145
commit
806bcb10ff
@ -4752,9 +4752,6 @@ gtk_notebook_paint (GtkWidget *widget,
|
||||
gboolean is_rtl;
|
||||
gint tab_pos;
|
||||
|
||||
if (!gtk_widget_is_drawable (widget))
|
||||
return;
|
||||
|
||||
notebook = GTK_NOTEBOOK (widget);
|
||||
priv = notebook->priv;
|
||||
is_rtl = gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL;
|
||||
|
Loading…
Reference in New Issue
Block a user