forked from AuroraMiddleware/gtk
entry: Remove useless queue_draw call
This is already taken care of by the add_class/remove_class.
This commit is contained in:
parent
f494d6ae1f
commit
81d19154a3
@ -7167,7 +7167,7 @@ gtk_entry_set_has_frame (GtkEntry *entry,
|
||||
gtk_style_context_remove_class (context, GTK_STYLE_CLASS_FLAT);
|
||||
else
|
||||
gtk_style_context_add_class (context, GTK_STYLE_CLASS_FLAT);
|
||||
gtk_widget_queue_draw (GTK_WIDGET (entry));
|
||||
|
||||
g_object_notify_by_pspec (G_OBJECT (entry), entry_props[PROP_HAS_FRAME]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user