battery_applet bug



Using gnome-core-0.99.5 ...

In short:
start battery_applet
click on Properties->Readout Properties->AC-Off Battery Color
the color picker appears, play a bit, press OK to segfault. 

I looked at gnome-core/applets/battery/properties.c: there's
value_changed_cb(GtkWidget *,gpointer)

At gnome-libs ... in gnome_color_picker_marshal_signal_1

      rfunc = (GnomeColorPickerSignal1) func;
        (* rfunc) (object,
                   GTK_VALUE_UINT (args[0]),
                   GTK_VALUE_UINT (args[1]),
                   GTK_VALUE_UINT (args[2]),
                   GTK_VALUE_UINT (args[3]),
                   func_data);

so i changed value_changed_cb to get 4 more guint's and now seems ok.
BTW: I absolutely don't know how gnome works and if this is the right way
to fix it; I could be simply wrong... I'm no coder!

Zun.



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