summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooser.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-07-09 01:40:08 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-07-09 01:40:08 -0400
commit99a0b35705885fc1f3ea584e34f7c8ed67940339 (patch)
tree13b6847a2ceecc5471496043e0837639d3a0cdf3 /gtk/gtkfilechooser.c
parent89bf8af8784513cf95b31812a1c7fb68753b9b87 (diff)
downloadgtk+-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/gtkfilechooser.c')
-rw-r--r--gtk/gtkfilechooser.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c
index ff70023af9..c201c9bc97 100644
--- a/gtk/gtkfilechooser.c
+++ b/gtk/gtkfilechooser.c
@@ -126,28 +126,6 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
NULL,
G_TYPE_NONE, 0);
- /**
- * GtkFileChooser::file-activated:
- * @chooser: the object which received the signal.
- *
- * This signal is emitted when the user "activates" a file in the file
- * chooser. This can happen by double-clicking on a file in the file list, or
- * by pressing `Enter`.
- *
- * Normally you do not need to connect to this signal. It is used internally
- * by #GtkFileChooserDialog to know when to activate the default button in the
- * dialog.
- *
- * See also: gtk_file_chooser_get_file(), gtk_file_chooser_get_files()
- */
- g_signal_new (I_("file-activated"),
- iface_type,
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GtkFileChooserIface, file_activated),
- NULL, NULL,
- NULL,
- G_TYPE_NONE, 0);
-
g_object_interface_install_property (iface,
g_param_spec_enum ("action",
P_("Action"),