Method

GtkIconInfoget_builtin_pixbuf

deprecated: 3.14 since: 2.4

Declaration [src]

GdkPixbuf*
gtk_icon_info_get_builtin_pixbuf (
  GtkIconInfo* icon_info
)

Description [src]

Gets the built-in image for this icon, if any. To allow GTK+ to use built in icon images, you must pass the GTK_ICON_LOOKUP_USE_BUILTIN to gtk_icon_theme_lookup_icon().

Available since: 2.4

Deprecated since: 3.14

This function is deprecated, use gtk_icon_theme_add_resource_path() instead of builtin icons.

Return value

Type: GdkPixbuf

The built-in image pixbuf, or NULL. No extra reference is added to the returned pixbuf, so if you want to keep it around, you must use g_object_ref(). The returned image must not be modified.

The returned data is owned by the instance.
The return value can be NULL.