[gnome-commander] search: remove unused param in handle_list_keypress()
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] search: remove unused param in handle_list_keypress()
- Date: Wed, 25 May 2011 17:25:04 +0000 (UTC)
commit 6c53464d719d9560fff8090d523ce528845fa788
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Wed May 25 19:24:10 2011 +0200
search: remove unused param in handle_list_keypress()
src/dialogs/gnome-cmd-search-dialog.cc | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/dialogs/gnome-cmd-search-dialog.cc b/src/dialogs/gnome-cmd-search-dialog.cc
index 96c8c80..90eca7a 100755
--- a/src/dialogs/gnome-cmd-search-dialog.cc
+++ b/src/dialogs/gnome-cmd-search-dialog.cc
@@ -908,7 +908,7 @@ static void on_goto (GtkButton *button, GnomeCmdSearchDialog *dialog)
}
-inline gboolean handle_list_keypress (GnomeCmdFileList *fl, GdkEventKey *event, GnomeCmdSearchDialog *dialog)
+inline gboolean handle_list_keypress (GnomeCmdFileList *fl, GdkEventKey *event)
{
switch (event->keyval)
{
@@ -925,10 +925,10 @@ inline gboolean handle_list_keypress (GnomeCmdFileList *fl, GdkEventKey *event,
}
-static gboolean on_list_keypressed (GtkWidget *result_list, GdkEventKey *event, gpointer dialog)
+static gboolean on_list_keypressed (GtkWidget *result_list, GdkEventKey *event, gpointer unused)
{
if (GNOME_CMD_FILE_LIST (result_list)->key_pressed(event) ||
- handle_list_keypress (GNOME_CMD_FILE_LIST (result_list), event, GNOME_CMD_SEARCH_DIALOG (dialog)))
+ handle_list_keypress (GNOME_CMD_FILE_LIST (result_list), event))
{
stop_kp (GTK_OBJECT (result_list));
return TRUE;
@@ -1129,7 +1129,7 @@ static void gnome_cmd_search_dialog_init (GnomeCmdSearchDialog *dialog)
dialog->priv->pbar = pbar;
g_signal_connect (dialog, "destroy", G_CALLBACK (on_dialog_destroy), NULL);
- g_signal_connect (dialog->priv->result_list, "key-press-event", G_CALLBACK (on_list_keypressed), dialog);
+ g_signal_connect (dialog->priv->result_list, "key-press-event", G_CALLBACK (on_list_keypressed), NULL);
g_signal_connect (dialog->priv->filter_type_combo, "changed", G_CALLBACK (on_filter_type_changed), dialog);
g_signal_connect (dialog->priv->find_text_check, "toggled", G_CALLBACK (find_text_toggled), dialog);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]