diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-07-09 01:40:08 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-07-09 01:40:08 -0400 |
commit | 99a0b35705885fc1f3ea584e34f7c8ed67940339 (patch) | |
tree | 13b6847a2ceecc5471496043e0837639d3a0cdf3 /gtk/gtkfilechooserdialog.c | |
parent | 89bf8af8784513cf95b31812a1c7fb68753b9b87 (diff) | |
download | gtk+-99a0b35705885fc1f3ea584e34f7c8ed67940339.tar.gz |
filechooser: Drop the ::file-activated signal
This signal does not work on native file choosers,
and it exposes internals of the widget that should
not be public. And it is just not very interesting.
Diffstat (limited to 'gtk/gtkfilechooserdialog.c')
-rw-r--r-- | gtk/gtkfilechooserdialog.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c index dd22c08a7e..8e8e70c1d6 100644 --- a/gtk/gtkfilechooserdialog.c +++ b/gtk/gtkfilechooserdialog.c @@ -265,8 +265,6 @@ static void gtk_file_chooser_dialog_size_allocate (GtkWidget *wid int width, int height, int baseline); -static void file_chooser_widget_file_activated (GtkFileChooser *chooser, - GtkFileChooserDialog *dialog); static void file_chooser_widget_response_requested (GtkWidget *widget, GtkFileChooserDialog *dialog); static void file_chooser_widget_selection_changed (GtkWidget *widget, @@ -310,7 +308,6 @@ gtk_file_chooser_dialog_class_init (GtkFileChooserDialogClass *class) gtk_widget_class_bind_template_child_private (widget_class, GtkFileChooserDialog, widget); gtk_widget_class_bind_template_child_private (widget_class, GtkFileChooserDialog, buttons); gtk_widget_class_bind_template_callback (widget_class, response_cb); - gtk_widget_class_bind_template_callback (widget_class, file_chooser_widget_file_activated); gtk_widget_class_bind_template_callback (widget_class, file_chooser_widget_response_requested); gtk_widget_class_bind_template_callback (widget_class, file_chooser_widget_selection_changed); } @@ -367,14 +364,6 @@ is_accept_response_id (gint response_id) response_id == GTK_RESPONSE_APPLY); } -/* Callback used when the user activates a file in the file chooser widget */ -static void -file_chooser_widget_file_activated (GtkFileChooser *chooser, - GtkFileChooserDialog *dialog) -{ - gtk_widget_activate_default (GTK_WIDGET (chooser)); -} - static void file_chooser_widget_selection_changed (GtkWidget *widget, GtkFileChooserDialog *dialog) |