summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2018-03-26 19:30:40 +0200
committerTimm Bäder <mail@baedert.org>2018-03-26 20:03:00 +0200
commit81d19154a305234b61ce3bcad8cdd678378ca057 (patch)
treea371c1d4e1820afae554a72c0f8736862d86344d
parentf494d6ae1fefba4e465fca967b4d13ce60178f9f (diff)
downloadgtk+-81d19154a305234b61ce3bcad8cdd678378ca057.tar.gz
entry: Remove useless queue_draw call
This is already taken care of by the add_class/remove_class.
-rw-r--r--gtk/gtkentry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 9e68185446..706d9bfca3 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -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]);
}