[PATCH] gnome2 remove deprecated function

2004-05-24 Thread Brian P. Skahan
g_value_set_object_take_ownership () is deprecated.  
using g_value_take_object () instead.

Index: lib/egg/eggmarshalers.c
===
RCS file: /home/cvs/cvsroot/gnucash/lib/egg/Attic/eggmarshalers.c,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 eggmarshalers.c
--- lib/egg/eggmarshalers.c	9 Aug 2003 23:03:32 -	1.1.2.2
+++ lib/egg/eggmarshalers.c	24 May 2004 16:57:11 -
@@ -389,7 +389,7 @@
   v_return = callback (data1,
data2);
 
-  g_value_set_object_take_ownership (return_value, v_return);
+  g_value_take_object (return_value, v_return);
 }
 
 /* VOID:VOID (eggmarshalers.list:10) */


signature.asc
Description: This is a digitally signed message part
___
gnucash-devel mailing list
[EMAIL PROTECTED]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [PATCH] gnome2 remove deprecated function

2004-05-24 Thread Brian P. Skahan
On Mon, 2004-05-24 at 15:03 -0400, Derek Atkins wrote:
  It wouldn't compile on FC2 here.  (gtk+-2.4)
 
 Why not?  The api exists on FC2, just inside an #ifndef
 G_DISABLE_DEPRECATED which we shouldn't be defining in our code
 (because it would break LOTS of stuff).  How does it fail for you on
 FC2?

implicit declaration of g_value_set_object_take_ownership

-Brian


signature.asc
Description: This is a digitally signed message part
___
gnucash-devel mailing list
[EMAIL PROTECTED]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel