g_object_newv patch
- From: James Henstridge <james daa com au>
- To: <gtk-devel-list gnome org>
- Subject: g_object_newv patch
- Date: Wed, 13 Jun 2001 19:59:08 +0800 (WST)
I have put together a patch to add the g_object_newv function to
libgobject. The bugzilla bug is:
http://bugzilla.gnome.org/show_bug.cgi?id=54946
and the patch is at:
http://bugzilla.gnome.org/showattachment.cgi?attach_id=649
The patch shouldn't break anything, but it could use some more testing.
It seems okay from my testing so far though.
The API I used was the one suggested by Owen and Tim:
typedef struct _GParameter GParameter;
struct _GParameter {
const gchar *name;
GValue value;
};
gpointer g_object_newv (GType object_type,
guint n_params,
GParameter *params);
James.
--
Email: james daa com au
WWW: http://www.daa.com.au/~james/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]