From 1be15021fdac07d7cb91bb091f7691e587cd2297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Sun, 23 Jan 2000 00:13:59 +0100 Subject: [PATCH] Moved unsillycaps() to inside the #if constant(). This makes the module support the feature_list script. Added Id. Rev: src/post_modules/GTK/module.pmod.in:1.4 --- .gitattributes | 1 + src/post_modules/GTK/module.pmod.in | 11 ++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitattributes b/.gitattributes index 255a76c515..51f2ba5b07 100644 --- a/.gitattributes +++ b/.gitattributes @@ -486,6 +486,7 @@ testfont binary /src/post_modules/GLUT/top.c foreign_ident /src/post_modules/GTK/acconfig.h foreign_ident /src/post_modules/GTK/dummy.c foreign_ident +/src/post_modules/GTK/module.pmod.in foreign_ident /src/post_modules/GTK/source/gladexml.pre foreign_ident /src/post_modules/Makefile.in foreign_ident /src/post_modules/configure.in foreign_ident diff --git a/src/post_modules/GTK/module.pmod.in b/src/post_modules/GTK/module.pmod.in index 7a8255b8ab..0b0e6c2a15 100644 --- a/src/post_modules/GTK/module.pmod.in +++ b/src/post_modules/GTK/module.pmod.in @@ -1,3 +1,11 @@ +/* + * $Id: module.pmod.in,v 1.4 2000/01/22 23:13:59 grubba Exp $ + * + * GTK glue code. + */ + +#if constant(@module@.parse_rc) + string unsillycaps(string what) { string res=upper_case(what[0..0]); @@ -9,9 +17,6 @@ string unsillycaps(string what) return res; } - -#if constant(@module@.parse_rc) - inherit @module@; #define INDEX(x) predef::`->(this_object(),(x)) -- GitLab