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

version» Context lines:

pike.git/src/post_modules/GTK2/source/global.pre:730:    char *name;    INT_TYPE size;    struct object *o1;    get_all_args("add_builtin_icon",args,"%s%i%o",&name,&size,&o1);    gtk_icon_theme_add_builtin_icon(name,size,GDK_PIXBUF(get_gobject(o1)));    }    my_pop_n_elems(args);   }   endrequire;    + array(int) version() + //! Returns the version of the GTK library. + { +  pop_n_elems(args); +  push_int( gtk_major_version ); +  push_int( gtk_minor_version ); +  push_int( gtk_micro_version ); +  f_aggregate(3); + } +    %{   #ifdef DYNAMIC_MODULE   struct program *image_color_program = NULL;   struct program *image_program = NULL;   #else   extern struct program *image_color_program;   extern struct program *image_program;   #endif   #define INIT_VARIABLES   %}