talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 870b417f9b114dbefbadeb65e6f9c08ebc3d7c2a
parent 9bedd44810f716d18a3220e144a3ece73e663f6e
Author: paul <paul@claws-mail.org>
Date:   Tue, 23 Nov 2021 11:31:55 +0000

remove foldersel_entry_activated(, which did nothing but cause an invalid signal warning

Diffstat:
Msrc/foldersel.c | 12+-----------
1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/src/foldersel.c b/src/foldersel.c @@ -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, _("_New"), @@ -632,11 +627,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) {