Re: Patches to gtkwidget and gtkwindow for property support
- From: Havoc Pennington <hp redhat com>
- To: Tim Janik <timj gtk org>
- Cc: John Margaglione <jmargaglione yahoo com>, Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: Patches to gtkwidget and gtkwindow for property support
- Date: 18 Feb 2001 17:06:03 -0500
Tim Janik <timj gtk org> writes:
> > case PROP_STYLE:
> > g_value_set_boxed (value, (gpointer) gtk_widget_get_style (widget));
>
> sicne we don't have a literal GBoxed type but take a gconstpointer
> instead, you don't need this cast either.
>
Also GtkStyle is a GObject now, so should use g_value_set_object() and
g_param_spec_object().
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]