Re: Gtk incompatibility



Try modifing Control-panel (from the source RPM) with this unified diff:

--- control-panel.c Wed Apr 15 14:21:50 1998
+++ control-panel.c.orig Sun Nov  9 14:50:15 1997
@@ -127,7 +127,7 @@
       /* turn this into a tooltip widget. */
 /*       label = gtk_label_new(items->label); */
 /*       tooltips = gtk_tooltips_new(); */
-      gtk_tooltips_set_tip(tooltips, button, items->label, "" );
+      gtk_tooltips_set_tips(tooltips, button, items->label);
       
       vbox = gtk_vbox_new(FALSE, 0);
 
mail.imaginet.fr wrote:

In gtk 0.99xxx , there's a function call "gtk_tooltips_set_tips"...
In gtk 1.0, this function don't exist any more...

(there are now "gtk_tooltips_set_tip" instead of
"gtk_tooltip_set_tips"... and the 2 fonctions don't take the same
argument... )

So i made a patch to use gtk 1.0 on some system like redhat 5.0 where
some apps like control panel use this function...

Ps: Don't ask me if it work... I don't try it at the moment...
The only thing what i know is that i recompile gtk without any
problem...

Mail me and say me the result...

--
_____________________________ _________________________
|Jobs: System Administrator, | Contact :               |
|       Security computing,   |   casper_@cyberdude.com |
|       Development.          |                         |
|_____________________________|_________________________|
It's well-known that M$ products don't make a free() after a malloc()...
The linux users wish good luck to M$ for their future products...

Software is like sex... It's better when it's free
[ Linus Torvald ]





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]