Don't generate code using deprecated APIs. (#122292, Christian Persch)
authorMatthias Clasen <maclas@gmx.de>
Sun, 14 Sep 2003 22:05:36 +0000 (22:05 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 14 Sep 2003 22:05:36 +0000 (22:05 +0000)
2003-09-15  Matthias Clasen  <maclas@gmx.de>

* glib-genmarshal.c (complete_out_arg): Don't generate code
using deprecated APIs.  (#122292, Christian Persch)

gobject/ChangeLog
gobject/glib-genmarshal.c

index c4a03e3de8775b590be42e8113634de6568f5862..5c781966facb29e7771f031d4483322d222f0bec 100644 (file)
@@ -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
index 24dd495e39f4afcdcfa15309df30a3bda267a5bb..8cc7c244959e84891027cf1525a205dac3dc2ff3 100644 (file)
@@ -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",                       },