Commit b10031de authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Fix the example. (#109563)

2003-04-01  Matthias Clasen  <maclas@gmx.de>

	* gtk/tmpl/gtkfilesel.sgml: Fix the example.  (#109563)
parent f73236e3
2003-04-01 Matthias Clasen <maclas@gmx.de>
* gtk/tmpl/gtkfilesel.sgml: Fix the example. (#109563)
2003-03-22 Michael Natterer <mitch@gimp.org>
* gtk/Makefile.am: copy stock_color_picker_25.png, don't copy
......
......@@ -34,11 +34,11 @@ Simple file operations; create directory, delete file, and rename file, are avai
/* The file selection widget and the string to store the chosen filename */
void store_filename (GtkFileSelection *file_selector, gpointer user_data) {
void store_filename (GtkWidget *file_selector, gpointer user_data) {
const gchar *selected_filename;
selected_filename = gtk_file_selection_get_filename (GTK_FILE_SELECTION (file_selector));
g_print ("Selected filename: %s\n", selected_filename);
g_print ("Selected filename: &percnt;s\n", selected_filename);
}
void create_file_selection (void) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment