LE NY Yannick <[EMAIL PROTECTED]> writes:
> I download the latest CVS and I have installed gnome-print-0.12
>
> I compile the latest CVS and I have this error when it link the *.o
> files :
There are two problems here.
One is that I forgot to include stubs for these functions to get
compiled if gnome-print is NOT detected, which is what's happening to
you. That's fixed by a patch I'm including below.
The other is that even though you have gnome-print installed, it's not
being detected in configure.
You *do* need to re-run configure to build the gnome-print stuff if
you built without it before... if you did run configure, could you
send me or the list your config.log file so I can have a look and
see what's gone wrong?
Thanks,
Bill Gribble
--- ../gnucash.pristine/src/gnome/print-session.c Fri Mar 24 19:03:35 2000+++
./src/gnome/print-session.c Sat Mar 25 09:20:55 2000
@@ -136,8 +136,8 @@
gtk_main();
if(GPOINTER_TO_INT(gtk_object_get_data(GTK_OBJECT(dialog), "quit-cause"))) {
- newpaper = strdup(gnome_paper_selector_get_name
- (GNOME_PAPER_SELECTOR(papersel)));
+ newpaper = g_strdup(gnome_paper_selector_get_name
+ (GNOME_PAPER_SELECTOR(papersel)));
}
gtk_widget_destroy(dialog);
@@ -257,8 +257,8 @@
gnc_print_session_destroy(PrintSession * ps) {
gtk_object_unref(GTK_OBJECT(ps->meta));
gtk_object_unref(GTK_OBJECT(ps->default_font));
- g_free(ps->paper);
+ g_free(ps->paper)
g_free(ps);
}
@@ -317,7 +317,8 @@
void gnc_ui_print_dialog_preview_cb(GtkWidget * widget, gpointer user_data) {}
void gnc_ui_print_dialog_ok_cb(GtkWidget * widget, gpointer user_data) {}
void gnc_ui_print_dialog_cancel_cb(GtkWidget * widget, gpointer user_data) {}
-
+void gnc_ui_paper_dialog_cancel_cb(GtkWidget * widg, gpointer user_data) { }
+void gnc_ui_paper_dialog_ok_cb(GtkWidget * widg, gpointer user_data) {}
/* printsession stuff */
PrintSession * gnc_print_session_create() { return NULL; }
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]