entry: Remove useless queue_draw call

This is already taken care of by the add_class/remove_class.
This commit is contained in:
Timm Bäder 2018-03-26 19:30:40 +02:00
parent f494d6ae1f
commit 81d19154a3

View File

@ -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]);
}