Method

GtkIconSourceget_pixbuf

Declaration [src]

GdkPixbuf*
gtk_icon_source_get_pixbuf (
  const GtkIconSource* source
)

Description [src]

Retrieves the source pixbuf, or NULL if none is set. In addition, if a filename source is in use, this function in some cases will return the pixbuf from loaded from the filename. This is, for example, true for the GtkIconSource passed to the GtkStyle render_icon() virtual function. The reference count on the pixbuf is not incremented.

Deprecated since:3.10

Use GtkIconTheme instead.

Return value

Returns: GdkPixbuf
 

Source pixbuf.

 The data is owned by the instance.