summaryrefslogtreecommitdiff
path: root/tests/testfilechooser.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testfilechooser.c')
-rw-r--r--tests/testfilechooser.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/testfilechooser.c b/tests/testfilechooser.c
index d3378d472a..eace90337c 100644
--- a/tests/testfilechooser.c
+++ b/tests/testfilechooser.c
@@ -262,18 +262,6 @@ kill_dependent (GtkWindow *win, GtkWidget *dep)
gtk_window_destroy (GTK_WINDOW (dep));
}
-static void
-notify_multiple_cb (GtkWidget *dialog,
- GParamSpec *pspec,
- GtkWidget *button)
-{
- gboolean multiple;
-
- multiple = gtk_file_chooser_get_select_multiple (GTK_FILE_CHOOSER (dialog));
-
- gtk_widget_set_sensitive (button, multiple);
-}
-
int
main (int argc, char **argv)
{
@@ -443,19 +431,6 @@ main (int argc, char **argv)
vbbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_window_set_child (GTK_WINDOW (control_window), vbbox);
- button = gtk_button_new_with_mnemonic ("_Select all");
- gtk_widget_set_sensitive (button, multiple);
- gtk_box_append (GTK_BOX (vbbox), button);
- g_signal_connect_swapped (button, "clicked",
- G_CALLBACK (gtk_file_chooser_select_all), dialog);
- g_signal_connect (dialog, "notify::select-multiple",
- G_CALLBACK (notify_multiple_cb), button);
-
- button = gtk_button_new_with_mnemonic ("_Unselect all");
- gtk_box_append (GTK_BOX (vbbox), button);
- g_signal_connect_swapped (button, "clicked",
- G_CALLBACK (gtk_file_chooser_unselect_all), dialog);
-
button = gtk_button_new_with_label ("set_current_folder (\"/nonexistent\")");
gtk_box_append (GTK_BOX (vbbox), button);
g_signal_connect (button, "clicked",