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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkicontheme.pre:118:   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   //! context string is system dependent, but will typically include such values   //! as 'apps' and 'mimetypes'.   {    pgtk2_verify_inited();    {    char *context=NULL;    GList *gl,*g2; -  int i; +  int i = 0;    if (args)    get_all_args("list_icons",args,"%s",&context);    gl=g2=gtk_icon_theme_list_icons(GTK_ICON_THEME(THIS->obj),context);    pgtk2_pop_n_elems(args);    while (g2) {    PGTK_PUSH_GCHAR(g2->data);    g_free(g2->data);    i++;    g2=g_list_next(g2);    }