bonobo docs error(?)
- From: jacob berkman <jacob ximian com>
- To: gnome-components-list gnome org
- Subject: bonobo docs error(?)
- Date: 12 Apr 2001 21:38:03 -0400
property bag example 3 reads:
static void
signal_handler (GtkClock *clock, BonoboPropertyBag *pb)
{
BonoboArg *arg = bonobo_arg_new (TC_string);
BONOBO_ARG_SET_STRING (arg, gtk_clock_get_color (clock));
bonobo_property_bag_notify_listeners (
pb, "colour", arg, NULL);
bonobo_arg_release (arg);
}
...
gtk_signal_connect (GTK_OBJECT (clock), "color_changed",
GTK_SIGNAL_FUNC (signal_handler), clock);
the last paramater to gtk_signal_connect should be a property bag, and
not the clock, right?
jacob
--
"...it shoulda been 'Glee Club'." -- David Fincher
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]