projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a96df55
)
textview: Handle a return value
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 7 Apr 2023 11:56:16 +0000
(07:56 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 7 Apr 2023 12:03:46 +0000
(08:03 -0400)
gtk/gtktextview.c
patch
|
blob
|
history
diff --git
a/gtk/gtktextview.c
b/gtk/gtktextview.c
index 1861264be2ea15d77e4436b119c4f48868c23c39..de42ea674a9f0942bc75937bc47b0d975d9417c4 100644
(file)
--- a/
gtk/gtktextview.c
+++ b/
gtk/gtktextview.c
@@
-9233,7
+9233,8
@@
append_bubble_item (GtkTextView *text_view,
muxer = _gtk_widget_get_action_muxer (GTK_WIDGET (text_view), FALSE);
if (muxer)
{
- gtk_action_muxer_query_action (muxer, action_name, &enabled, ¶m_type, &state_type, NULL, NULL);
+ if (!gtk_action_muxer_query_action (muxer, action_name, &enabled, ¶m_type, &state_type, NULL, NULL))
+ return;
if (!enabled)
return;