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

version» Context lines:

pike.git/src/post_modules/GTK2/source/global.pre:257:    else {    data=g_malloc(sizeof(char *)*2);    if (data==NULL)    SIMPLE_OUT_OF_MEMORY_ERROR("setup_gtk",sizeof(char *)*2);    data[0]=g_strdup("Pike GTK");    argc=1;    }    pgtk2_is_setup=1;    gtk_set_locale();    gtk_init(&argc,&data); + #if GLIB_MAJOR_VERISON > 2 || GLIB_MINOR_VERSION < 36    g_type_init(); -  + #endif       backend_cb=(void *)add_backend_callback(backend_callback,0,0);    pgtk2_pop_n_elems(args);    push_and_free_argv(data,argc,0);   }      void flush()   //! Flush GDK. Not normally needed, can be useful while doing calculations.   {    gdk_flush();