[Commits] [SCM] claws branch, gtk2, updated. 3.20.0-50-g01c7fcaea

mones at claws-mail.org mones at claws-mail.org
Tue Feb 13 19:54:03 UTC 2024


The branch, gtk2 has been updated
       via  01c7fcaead2be0af004b2de6bea14c1581d31d9d (commit)
      from  075f0e40de714b40dfe9f5d9c7edac49655e8992 (commit)

Summary of changes:
 src/gtk/gtkaspell.c | 6 ------
 1 file changed, 6 deletions(-)


- Log -----------------------------------------------------------------
commit 01c7fcaead2be0af004b2de6bea14c1581d31d9d
Author: Ricardo Mones <ricardo at mones.org>
Date:   Tue Feb 13 20:53:05 2024 +0100

    Remove useless code

diff --git a/src/gtk/gtkaspell.c b/src/gtk/gtkaspell.c
index 19d59ad8e..f4dd41163 100644
--- a/src/gtk/gtkaspell.c
+++ b/src/gtk/gtkaspell.c
@@ -648,7 +648,6 @@ static void button_press_intercept_cb(GtkTextView *gtktext,
 static GtkAspeller *gtkaspeller_new(Dictionary *dictionary)
 {
 	GtkAspeller	*gtkaspeller = NULL;
-	GtkAspeller	*tmp;
 	Dictionary	*dict;
 
 	cm_return_val_if_fail(gtkaspellcheckers, NULL);
@@ -663,11 +662,6 @@ static GtkAspeller *gtkaspeller_new(Dictionary *dictionary)
 
 	dict = dictionary_dup(dictionary);
 
-	tmp = g_new0(GtkAspeller, 1);
-	tmp->dictionary = dict;
-
-	g_free(tmp);
-
 	if ((gtkaspeller = gtkaspeller_real_new(dict)) != NULL) {
 		gtkaspellcheckers->checkers = g_slist_append(
 				gtkaspellcheckers->checkers,

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list