summaryrefslogtreecommitdiff
path: root/tests/testfilechooser.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2003-07-11 19:18:36 +0000
committerOwen Taylor <otaylor@src.gnome.org>2003-07-11 19:18:36 +0000
commit7f8ae32c1d8c48cb361d1864c27a69f27f6a2dbd (patch)
tree8d00400d98eb3f137b13b35fdbe6f1a4df2ee3ab /tests/testfilechooser.c
parent10d77dd6dae4ab21fc4c2b441e73a403905ab6aa (diff)
downloadgtk+-7f8ae32c1d8c48cb361d1864c27a69f27f6a2dbd.tar.gz
Add gtk_file_chooser_set_current_name() to set the current entry contents.
Fri Jul 11 14:37:07 2003 Owen Taylor <otaylor@redhat.com> * gtkfilechooser.[ch] gtkfilechooserprivate.h gtkfilechooserimpldefault.c: Add gtk_file_chooser_set_current_name() to set the current entry contents. * *.c: Consistently use '-' not '_' in property names and signal names. * gtkfilechooser.c: Document all exported functions.
Diffstat (limited to 'tests/testfilechooser.c')
-rw-r--r--tests/testfilechooser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testfilechooser.c b/tests/testfilechooser.c
index afcdf1601a..cec922e5e2 100644
--- a/tests/testfilechooser.c
+++ b/tests/testfilechooser.c
@@ -63,7 +63,7 @@ main (int argc, char **argv)
dialog = g_object_new (GTK_TYPE_FILE_CHOOSER_DIALOG,
"action", GTK_FILE_CHOOSER_ACTION_OPEN,
- "file_system", file_system,
+ "file-system", file_system,
"title", "Select a file",
NULL);
@@ -73,9 +73,9 @@ main (int argc, char **argv)
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
- g_signal_connect (dialog, "selection_changed",
+ g_signal_connect (dialog, "selection-changed",
G_CALLBACK (print_selected), NULL);
- g_signal_connect (dialog, "current_folder_changed",
+ g_signal_connect (dialog, "current-folder-changed",
G_CALLBACK (print_current_folder), NULL);
g_signal_connect (dialog, "response",
G_CALLBACK (response_cb), NULL);