summaryrefslogtreecommitdiff
path: root/gobject
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-09-14 22:05:36 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-09-14 22:05:36 +0000
commit1e469f37b98def13357e43ba928855e7f2cb8986 (patch)
treedefe851d8462ba18b64b8c8e5441f1f0bcf8f3d3 /gobject
parenta5186a88bc4c34825966e68bb18ad716f2364bc6 (diff)
Don't generate code using deprecated APIs. (#122292, Christian Persch)
2003-09-15 Matthias Clasen <maclas@gmx.de> * glib-genmarshal.c (complete_out_arg): Don't generate code using deprecated APIs. (#122292, Christian Persch)
Diffstat (limited to 'gobject')
-rw-r--r--gobject/ChangeLog5
-rw-r--r--gobject/glib-genmarshal.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/gobject/ChangeLog b/gobject/ChangeLog
index c4a03e3de..5c781966f 100644
--- a/gobject/ChangeLog
+++ b/gobject/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-15 Matthias Clasen <maclas@gmx.de>
+
+ * glib-genmarshal.c (complete_out_arg): Don't generate code
+ using deprecated APIs. (#122292, Christian Persch)
+
Fri Sep 12 16:31:40 2003 Owen Taylor <otaylor@redhat.com>
* gsignal.[ch]: Add g_signal_accumulator_true_handled(), to
diff --git a/gobject/glib-genmarshal.c b/gobject/glib-genmarshal.c
index 24dd495e3..8cc7c2449 100644
--- a/gobject/glib-genmarshal.c
+++ b/gobject/glib-genmarshal.c
@@ -239,11 +239,11 @@ complete_out_arg (OutArgument *oarg)
{ "FLAGS", "FLAGS", "guint", "g_value_set_flags", },
{ "FLOAT", "FLOAT", "gfloat", "g_value_set_float", },
{ "DOUBLE", "DOUBLE", "gdouble", "g_value_set_double", },
- { "STRING", "STRING", "gchar*", "g_value_set_string_take_ownership", },
- { "PARAM", "PARAM", "GParamSpec*", "g_value_set_param_take_ownership", },
- { "BOXED", "BOXED", "gpointer", "g_value_set_boxed_take_ownership", },
+ { "STRING", "STRING", "gchar*", "g_value_take_string", },
+ { "PARAM", "PARAM", "GParamSpec*", "g_value_take_param", },
+ { "BOXED", "BOXED", "gpointer", "g_value_take_boxed", },
{ "POINTER", "POINTER", "gpointer", "g_value_set_pointer", },
- { "OBJECT", "OBJECT", "GObject*", "g_value_set_object_take_ownership", },
+ { "OBJECT", "OBJECT", "GObject*", "g_value_take_object", },
/* deprecated: */
{ "NONE", "VOID", "void", NULL, },
{ "BOOL", "BOOLEAN", "gboolean", "g_value_set_boolean", },