diff --git a/src/business/business-gnome/business-urls.c b/src/business/business-gnome/business-urls.c index 56247d5de7..91dbcbdb05 100644 --- a/src/business/business-gnome/business-urls.c +++ b/src/business/business-gnome/business-urls.c @@ -42,6 +42,7 @@ #include "dialog-employee.h" #include "dialog-vendor.h" #include "dialog-invoice.h" +#include "dialog-job.h" /* Disable -Waddress. GCC 4.2 warns (and fails to compile with -Werror) when * passing the address of a guid on the stack to QOF_BOOK_LOOKUP_ENTITY via diff --git a/src/business/business-gnome/dialog-job.h b/src/business/business-gnome/dialog-job.h index 55afcd52f0..d56120e804 100644 --- a/src/business/business-gnome/dialog-job.h +++ b/src/business/business-gnome/dialog-job.h @@ -32,13 +32,13 @@ typedef struct _job_window JobWindow; #include "dialog-search.h" /* Create or Edit a job */ -GncJob * gnc_ui_job_new_return_handle (GncOwner *owner, GNCBook *book); +GncJob * gnc_ui_job_new_return_handle (GncOwner *owner, QofBook *book); JobWindow * gnc_ui_job_edit (GncJob *job); -JobWindow * gnc_ui_job_new (GncOwner *owner, GNCBook *book); +JobWindow * gnc_ui_job_new (GncOwner *owner, QofBook *book); /* Search for Jobs */ GNCSearchWindow * gnc_job_search (GncJob *start, GncOwner *owner, - GNCBook *book); + QofBook *book); /* * These callbacks are for use with the gnc_general_search widget