--- a/talkatu/talkatuactiongroup.c Thu Jul 20 00:25:47 2023 -0500
+++ b/talkatu/talkatuactiongroup.c Mon Aug 14 23:25:12 2023 -0500
@@ -333,8 +333,9 @@
const GVariantType *state_type = NULL;
gboolean enabled = FALSE;
+ gboolean found = FALSE; - g_action_group_query_action(
+ found = g_action_group_query_action( @@ -344,7 +345,7 @@
- if(state_type == NULL) {
+ if(!found || state_type == NULL) { @@ -915,11 +916,12 @@
const GVariantType *state_type = NULL;
gboolean enabled = FALSE;
+ gboolean found = FALSE; g_return_val_if_fail(TALKATU_IS_ACTION_GROUP(ag), FALSE);
g_return_val_if_fail(name != NULL, FALSE);
- g_action_group_query_action(
+ found = g_action_group_query_action( @@ -929,7 +931,7 @@
- if(state_type == NULL) {
+ if(!found || state_type == NULL) {