pike.git / lib / modules / GDK.pmod

version» Context lines:

pike.git/lib/modules/GDK.pmod:1:   #pike __REAL_VERSION__    - #if constant(GTK) + #if constant(GTK.Widget)      #define INDEX(x) GTK[x]      object Atom = class   {    mapping atoms = ([]);       class fake_atom    {    object ra;
pike.git/lib/modules/GDK.pmod:42:    if(!zero_type(INDEX("Gdk"+what)))    return INDEX("Gdk"+what);    if(!zero_type(INDEX("GDK_"+what)))    return INDEX("GDK_"+what);    if(!zero_type(INDEX("GDK_"+upper_case(GTK->unsillycaps(what)))))    return INDEX("GDK_"+upper_case(GTK->unsillycaps(what)));    return UNDEFINED;   // return GDKSupport[what];   }    - #else /* !constant(GTK) */ -  - static void create() - { -  /* Destroy ourselves. */ -  destruct(); - } -  - #endif /* constant(GTK) */ + #endif /* constant(GTK.Widget) */