gtk_icon_set_render_icon() style argument



excerpt from the docs:

/**
 * gtk_icon_set_render_icon:
 * @icon_set: a #GtkIconSet
 * @style: a #GtkStyle associated with @widget, or %NULL

and then:

GdkPixbuf*
gtk_icon_set_render_icon (GtkIconSet        *icon_set,
                          GtkStyle          *style,
                         [...]
  g_return_val_if_fail (GTK_IS_STYLE (style), NULL);

now, may the style argument to gtk_icon_set_render_icon() validly be NULL,
or do the docs need to be fixed?

---
ciaoTJ




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]