From 9b4c142d6bac68d26c06b9e94cc61ecee4a5ca95 Mon Sep 17 00:00:00 2001
From: Theo Linkspfeifer <lastonestanding@tutanota.com>
Date: Tue, 21 Jan 2025 22:54:24 +0100
Subject: [PATCH] Fix signal emitting (#1533)

Fixes: 6c032077
---
 thunar/thunar-list-model.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/thunar/thunar-list-model.c b/thunar/thunar-list-model.c
index 4d5b9869e..390115766 100644
--- a/thunar/thunar-list-model.c
+++ b/thunar/thunar-list-model.c
@@ -348,7 +348,6 @@ struct _ThunarListModel
 
 
 
-static guint       list_model_signals[THUNAR_STANDARD_VIEW_MODEL_LAST_SIGNAL];
 static GParamSpec *list_model_props[N_PROPERTIES] = {
   NULL,
 };
@@ -1650,7 +1649,7 @@ thunar_list_model_folder_error (ThunarFolder    *folder,
   thunar_list_model_set_folder (THUNAR_STANDARD_VIEW_MODEL (store), NULL, NULL);
 
   /* forward the error signal */
-  g_signal_emit (G_OBJECT (store), list_model_signals[THUNAR_STANDARD_VIEW_MODEL_ERROR], 0, error);
+  g_signal_emit_by_name (G_OBJECT (store), "error", error);
 }
 
 
-- 
GitLab