> Probably my request is already out of date, but maybe itīs saving some
> of your time. There is a new gtk version 0.99.4 with some functions
> changed. Here is the a list of changes I made to make sane-0.71 compile:
<Fixes were here>
The patch:
--------------------B<-----------------------
--- gtkglue.c.olf Tue Jan 27 08:38:36 1998
+++ gtkglue.c Sun Mar 8 00:02:46 1998
@@ -71,7 +71,7 @@
set_tooltip (GtkTooltips *tooltips, GtkWidget *widget, const char *desc)
{
if (desc && desc[0])
- gtk_tooltips_set_tips (tooltips, widget, (char *) desc);
+ gtk_tooltips_set_tip (tooltips, widget, (char *) desc, (char *)
desc);
}
int
@@ -808,7 +808,8 @@
GSGDialogElement *elem;
int i, j;
- gtk_tooltips_unref (dialog->tooltips);
+ gtk_object_unref (GTK_OBJECT (dialog->tooltips));
+ dialog->tooltips = NULL;
gtk_widget_destroy (dialog->main_hbox);
/* free the menu labels of integer/fix-point word-lists: */
--- xcam.c.olf Tue Jan 20 08:39:51 1998
+++ xcam.c Sat Mar 7 23:54:29 1998
@@ -896,7 +896,7 @@
sane_init (NULL, 0);
- gdk_set_debug_level (0);
+ /* gdk_set_debug_level (0); */
gdk_set_show_events (0);
gtk_init (&argc, &argv);
--------------------B<-----------------------
And xscanimage works like a charme this way on my Alpha system with RedHat
5.0 (GNU libc).
Hugo.
PS: Could you post without HTML attached to your mail?
+------------------------+------------------------------+
| Hugo van der Kooij | Hugo.van.der.Kooij@caiw.nl |
| Oranje Nassaustraat 16 | http://www.caiw.nl/~hvdkooij |
| 3155 VJ Maasland | (De man met de rode hoed) |
+------------------------+------------------------------+
"Computers let you make more mistakes faster than any other invention in
human history, with the possible exception of handguns and tequila."
(Mitch Radcliffe)
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com