projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa4af02
)
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, 21 Apr 2023 07:07:34 +0000
(09:07 +0200)
gtk/gtktextview.c
patch
|
blob
|
history
diff --git
a/gtk/gtktextview.c
b/gtk/gtktextview.c
index 465e5cd25b54511b654dff9a480d26e4ab4202fb..c384002f76f77647e786ffc0d803186373e432e4 100644
(file)
--- a/
gtk/gtktextview.c
+++ b/
gtk/gtktextview.c
@@
-9231,7
+9231,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;