diff --git a/ChangeLog b/ChangeLog index 2c6caf40..c5b21962 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/src/project.c b/src/project.c index 3cc3dc52..b1368d5c 100644 --- a/src/project.c +++ b/src/project.c @@ -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);