remove foldersel_entry_activated(, which did nothing but cause an invalid signal...
authorpaul <paul@claws-mail.org>
Tue, 23 Nov 2021 11:31:55 +0000 (11:31 +0000)
committerPaul <paul@claws-mail.org>
Tue, 23 Nov 2021 11:32:56 +0000 (11:32 +0000)
src/foldersel.c

index 3e7a561cd6393fa9444690879495b741fa2dc5d6..1973bc3a698b8488fd0a829bc555ab5e61e249a5 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2020 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2021 the Claws Mail team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -109,9 +109,6 @@ static void foldersel_cancel                (GtkButton      *button,
 static void foldersel_new_folder       (GtkButton      *button,
                                         gpointer        data);
 
-static void foldersel_entry_activated  (GtkEntry       *entry,
-                                        gpointer        data);
-
 static void foldersel_tree_activated   (GtkTreeView            *treeview,
                                         GtkTreePath            *path,
                                         GtkTreeViewColumn      *column,
@@ -346,8 +343,6 @@ static void foldersel_create(const gchar *title)
        statusbar_cid = gtk_statusbar_get_context_id(
                        GTK_STATUSBAR(statusbar), "Select Folder Dialog" );
        gtk_box_pack_start(GTK_BOX(vbox), statusbar, FALSE, FALSE, 0);
-       g_signal_connect(G_OBJECT(statusbar), "activate",
-                        G_CALLBACK(foldersel_entry_activated), NULL);
 
        gtkut_stock_button_set_create(&confirm_area,
                                      &new_button,    GTK_STOCK_NEW,
@@ -634,11 +629,6 @@ static void foldersel_new_folder(GtkButton *button, gpointer data)
        folder_write_list();
 }
 
-static void foldersel_entry_activated(GtkEntry *entry, gpointer data)
-{
-       gtk_button_clicked(GTK_BUTTON(ok_button));
-}
-
 static void foldersel_tree_activated(GtkTreeView *treeview, GtkTreePath *path,
                                     GtkTreeViewColumn *column, gpointer data)
 {