Fix passing wrong pointer to the File Open dialog for the Run command in the Project Properties dialog.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3755 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2009-04-30 17:17:28 +00:00
parent 6d1371eec2
commit ef87bbe5b7
2 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,9 @@
* src/callbacks.c, src/callbacks.h, src/main.c:
Update the View->Fullscreen menu item when fullscreen state is
changed externally (e.g. by the window manager).
* src/project.c:
Fix passing wrong pointer to the File Open dialog for the Run
command in the Project Properties dialog.
2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>

View File

@ -462,7 +462,7 @@ static void create_properties_dialog(PropertyDialogElements *e)
"Options can be appended to the command. "
"Leave blank to use the default run command."));
button = gtk_button_new();
g_signal_connect(button, "clicked", G_CALLBACK(on_file_open_button_clicked), e->run_cmd);
g_signal_connect(button, "clicked", G_CALLBACK(on_file_open_button_clicked), e);
image = gtk_image_new_from_stock("gtk-open", GTK_ICON_SIZE_BUTTON);
gtk_container_add(GTK_CONTAINER(button), image);
bbox = gtk_hbox_new(FALSE, 6);