changed return value of g_value_dup_object(), fixes #343292.

Wed Aug 23 10:35:32 2006  Tim Janik  <timj@gtk.org>

        * gobject.[hc]: changed return value of g_value_dup_object(), fixes #343292.

2006-08-23  Sven Neumann  <sven@gimp.org>

        * gobject/glib-genmarshal.[c1]: added new command-line option
        "--internal" that can be used to let glib-genmarshal generate
        internal functions using the G_GNUC_INTERNAL attribute (bug #346647).
This commit is contained in:
Sven Neumann
2006-08-23 08:46:21 +00:00
committed by Tim Janik
parent fa293c86c6
commit 89f9ebaef3
4 changed files with 12 additions and 8 deletions

View File

@@ -2044,7 +2044,7 @@ g_value_get_object (const GValue *value)
return value->data[0].v_pointer;
}
GObject*
gpointer
g_value_dup_object (const GValue *value)
{
g_return_val_if_fail (G_VALUE_HOLDS_OBJECT (value), NULL);