pike.git / src / post_modules / GTK2 / source / gtkicontheme.pre

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkicontheme.pre:78:   //! Checks whether this icon theme includes an icon for a particular name.      GTK2.IconInfo lookup_icon(string name, int size, int flags)   //! Looks up a named icon and returns an object containing information such as   //! the filename of the icon. The icon can then be rendered into a pixbuf   //! using GTK2.IconInfo->load_icon().   {    pgtk_verify_inited();    {    char *name; -  int size,flags; +  INT_TYPE size,flags;    GtkIconInfo *gi;    get_all_args("lookup_icon",args,"%s%i%i",&name,&size,&flags);    gi=gtk_icon_theme_lookup_icon(GTK_ICON_THEME(THIS->obj),name,size,flags);    my_pop_n_elems(args);    if (gi)    push_gobjectclass(gi,pgtk_icon_info_program);    else    push_int(0);    }   }      GDK2.Pixbuf load_icon(string name, int size, int flags)   //! Looks up an icon in an icon theme, scales it to the given size and renders   //! it into a pixbuf.   {    pgtk_verify_inited();    {    GdkPixbuf *pixbuf;    char *name; -  int size,flags; +  INT_TYPE size,flags;    get_all_args("load_icon",args,"%s%i%i",&name,&size,&flags);    pixbuf=gtk_icon_theme_load_icon(GTK_ICON_THEME(THIS->obj),name,size,flags,NULL);    my_pop_n_elems(args);    push_gobject(pixbuf);    }   }      array(string) list_icons(?string context)   //! Lists the icons in the current icon theme. Only a subset of the icons can   //! be listed by providing a context string. The set of values for the