Branch: Tag:

2001-06-10

2001-06-10 17:02:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Don't cause compilation errors if GTK doesn't exist.

Rev: lib/modules/GDK.pmod:1.10
Rev: lib/modules/Gnome.pmod:1.4

1:   #pike __REAL_VERSION__    + #if constant(GTK) +    #define INDEX(x) GTK[x]      object Atom = class
46:    return ([])[0];   // return GDKSupport[what];   } +  + #else /* !constant(GTK) */ +  + static void create() + { +  /* Destroy ourselves. */ +  destruct(); + } +  + #endif /* constant(GTK) */