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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkimage.pre:157:   mapping(string:mixed) get_stock()   //! Gets the stock icon name and size.   {    pgtk2_verify_inited();    pgtk2_pop_n_elems(args);    {    gchar *stock_id;    GtkIconSize size;    gtk_image_get_stock(GTK_IMAGE(THIS->obj),&stock_id,&size);    ref_push_string(_STR("stock_id")); -  push_text(stock_id); +  PGTK_PUSH_GCHAR(stock_id);    ref_push_string(_STR("size"));    push_int(size);    f_aggregate_mapping(4);    }   }      +GDK2.PixbufAnimation get_animation()   //! Gets the GDK2.PixbufAnimation being displayed.   {    pgtk2_verify_inited();
pike.git/src/post_modules/GTK2/source/gtkimage.pre:187:   mapping(string:mixed) get_icon_name()   //! Gets the icon name and size.   {    pgtk2_verify_inited();    pgtk2_pop_n_elems(args);    {    const gchar *icon_name;    GtkIconSize size;    gtk_image_get_icon_name(GTK_IMAGE(THIS->obj),&icon_name,&size);    ref_push_string(_STR("icon_name")); -  push_text(icon_name); +  PGTK_PUSH_GCHAR(icon_name);    ref_push_string(_STR("size"));    push_int(size);    f_aggregate_mapping(4);    }   }   endrequire;      int get_storage_type();   //! Gets the type of representation being used to store data. If it has no   //! image data, the return value will be GTK2.IMAGE_EMPTY.