From 3561a6cbca541707fa4cee885ab4e1be0c0bd894 Mon Sep 17 00:00:00 2001 From: Derek Atkins Date: Mon, 27 Oct 2008 11:20:55 +0000 Subject: [PATCH] The update to business-urls.c requires dialog-job.h dialog-job.h requires some additional changes git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17665 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/business/business-gnome/business-urls.c | 1 + src/business/business-gnome/dialog-job.h | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) 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