(maybe) bug in bonobo-clock-control.c
- From: monkeyiq dingoblue net au
- To: gnome-components-list gnome org
- Subject: (maybe) bug in bonobo-clock-control.c
- Date: Tue, 31 Oct 2000 16:37:43 +1000
Hi,
While looking at the samples I found this strange looking code
Line 96>
/* Create the properties. */
pb = bonobo_property_bag_new (get_prop, set_prop, clock);
bonobo_control_set_property_bag (control, pb);
bonobo_object_unref (BONOBO_OBJECT (pb));
bonobo_property_bag_add (pb, "running", PROP_RUNNING,
BONOBO_ARG_BOOLEAN, NULL,
"Whether or not the clock is running", 0);
Should there really be use of pb in bonobo_property_bag_add()?
or should the _unref() call be after the bag_add() call ...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]