PATCH: API sync-ing
- From: Jason Leach <jasonleach usa net>
- To: gnome-components-list gnome org
- Subject: PATCH: API sync-ing
- Date: Mon, 15 Jan 2001 20:44:01 -0500
Hey hackers,
Dietmar's recent BonoboPropertyBag API changes came with updates to
gtkhtml and Evolution, but looks like he skipped Bonobo (sorta) :)
Attached patch fixes the samples/controls/* to go with the new API.
Try playing with sample-control-container before this patch, it will
compile and run, but should crash when you try to increment result,
plus comes with loads of fun console warnings.
OK to commit?
Thanks,
Jason.
===================================================================
RCS file: /cvs/gnome/bonobo/ChangeLog,v
retrieving revision 1.893
diff -u -r1.893 ChangeLog
--- ChangeLog 2001/01/15 18:52:44 1.893
+++ ChangeLog 2001/01/16 01:36:47
@@ -1,3 +1,12 @@
+2001-01-15 Jason Leach <jasonleach usa net>
+
+ * samples/controls/bonobo-calculator-control.c (get_prop): Update
+ to reflect changes in BonoboPropertyBag API.
+ (set_prop): Ditto.
+
+ * samples/controls/bonobo-clock-control.c (get_prop): Ditto.
+ (set_prop): Ditto.
+
2001-01-15 Eskil Heyn Olsen <eskil eazel com>
* monikers/Makefile.am:
Index: samples/controls/bonobo-calculator-control.c
===================================================================
RCS file: /cvs/gnome/bonobo/samples/controls/bonobo-calculator-control.c,v
retrieving revision 1.13
diff -u -r1.13 bonobo-calculator-control.c
--- samples/controls/bonobo-calculator-control.c 2000/12/14 19:54:32 1.13
+++ samples/controls/bonobo-calculator-control.c 2001/01/16 01:36:47
@@ -19,6 +19,7 @@
set_prop (BonoboPropertyBag *bag,
const BonoboArg *arg,
guint arg_id,
+ CORBA_Environment *ev,
gpointer user_data)
{
gnome_calculator_set (user_data, BONOBO_ARG_GET_DOUBLE (arg));
@@ -28,6 +29,7 @@
get_prop (BonoboPropertyBag *bag,
BonoboArg *arg,
guint arg_id,
+ CORBA_Environment *ev,
gpointer user_data)
{
GnomeCalculator *calc = user_data;
Index: samples/controls/bonobo-clock-control.c
===================================================================
RCS file: /cvs/gnome/bonobo/samples/controls/bonobo-clock-control.c,v
retrieving revision 1.18
diff -u -r1.18 bonobo-clock-control.c
--- samples/controls/bonobo-clock-control.c 2000/12/14 19:54:32 1.18
+++ samples/controls/bonobo-clock-control.c 2001/01/16 01:36:47
@@ -26,6 +26,7 @@
get_prop (BonoboPropertyBag *bag,
BonoboArg *arg,
guint arg_id,
+ CORBA_Environment *ev,
gpointer user_data)
{
GtkObject *clock = user_data;
@@ -49,6 +50,7 @@
set_prop (BonoboPropertyBag *bag,
const BonoboArg *arg,
guint arg_id,
+ CORBA_Environment *ev,
gpointer user_data)
{
GtkClock *clock = user_data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]