projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f494d6a
)
entry: Remove useless queue_draw call
author
Timm Bäder
<mail@baedert.org>
Mon, 26 Mar 2018 17:30:40 +0000
(19:30 +0200)
committer
Timm Bäder
<mail@baedert.org>
Mon, 26 Mar 2018 18:03:00 +0000
(20:03 +0200)
This is already taken care of by the add_class/remove_class.
gtk/gtkentry.c
patch
|
blob
|
history
diff --git
a/gtk/gtkentry.c
b/gtk/gtkentry.c
index 9e681854461238d18a28e0c2423364cbf264bd73..706d9bfca3096141c291f22246bf3deebf721fd7 100644
(file)
--- 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]);
}