[gtk+] file chooser: Drop unused callbacks
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] file chooser: Drop unused callbacks
- Date: Wed, 28 Jan 2015 21:32:36 +0000 (UTC)
commit d270c5524fbd129bc96b2b31e1d97efa02be4e81
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jan 28 15:57:12 2015 -0500
file chooser: Drop unused callbacks
gtk/gtkfilechooserwidget.c | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 799492c..b4fde0a 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -6260,18 +6260,6 @@ search_entry_activate_cb (GtkEntry *entry,
search_start_query (impl, text);
}
-static void
-search_button_clicked_cb (GtkFileChooserWidget *impl)
-{
- operation_mode_set (impl, OPERATION_MODE_SEARCH);
-}
-
-static void
-location_button_clicked_cb (GtkFileChooserWidget *impl)
-{
- operation_mode_set (impl, OPERATION_MODE_BROWSE);
-}
-
/* Hides the path bar and creates the search entry */
static void
search_setup_widgets (GtkFileChooserWidget *impl)
@@ -7440,8 +7428,6 @@ gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
gtk_widget_class_bind_template_callback (widget_class, places_sidebar_show_error_message_cb);
gtk_widget_class_bind_template_callback (widget_class, places_sidebar_show_enter_location_cb);
gtk_widget_class_bind_template_callback (widget_class, search_entry_activate_cb);
- gtk_widget_class_bind_template_callback (widget_class, search_button_clicked_cb);
- gtk_widget_class_bind_template_callback (widget_class, location_button_clicked_cb);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]