Bug?



Hi there!
Anybody fix this?

------gtk+-1.2.6---gtktooltips.c---------
void
gtk_tooltips_set_colors (GtkTooltips *tooltips,
                         GdkColor    *background,
                         GdkColor    *foreground,
{
     g_return_if_fail (tooltips != NULL);
     if (background != NULL)
           tooltips->foreground = foreground;
     if (foreground != NULL)
           tooltips->background = background;
}

It's seemed to me that it should be
{
     g_return_if_fail (tooltips != NULL);
     if (background != NULL)
           tooltips->background = background;
     if (foreground != NULL)
           tooltips->foreground = foreground;
}

And second:
Why does'nt GtkPaned widgets set sensetive state for both
of their parts? For example when I exec:
gtk_widget_set_sensitive(MainWindow,FALSE);
where MainWindow contain GtkPaned widget, only upper part attached to 
GtkPanned widget (for GtkVPaned) became insensitive but lower part
stayed in normal state (visualy).
                                                                               
-- 
Downloader for X !                 | Koshelev Maxim
Get your copy right now at         | mdem@chat.ru
http://www.krasu.ru/soft/chuchelo  | chuchelo@krasu.ru



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