From 2c457d0549bdf710f8e4ca1e66e381c9c68e0426 Mon Sep 17 00:00:00 2001
From: Per Hedbor <ph@opera.com>
Date: Mon, 28 Feb 2000 09:59:27 +0100
Subject: [PATCH] This #if constant() breaks things if the .pmods are installed
 when the GTK.so file is not working (Which is not all that uncommon when you
 are developing), and they are quite unessesary, since GTK.pmod is needed to
 load this module

Rev: lib/modules/GTKSupport.pmod/MenuFactory.pmod:1.3
Rev: lib/modules/GTKSupport.pmod/Util.pmod:1.6
---
 lib/modules/GTKSupport.pmod/MenuFactory.pmod | 4 ----
 lib/modules/GTKSupport.pmod/Util.pmod        | 3 ---
 2 files changed, 7 deletions(-)

diff --git a/lib/modules/GTKSupport.pmod/MenuFactory.pmod b/lib/modules/GTKSupport.pmod/MenuFactory.pmod
index fd5265e0df..cea49d7806 100644
--- a/lib/modules/GTKSupport.pmod/MenuFactory.pmod
+++ b/lib/modules/GTKSupport.pmod/MenuFactory.pmod
@@ -1,5 +1,3 @@
-#if constant(GTK.parse_rc)
-
 #define FLAG_SHIFT   1
 #define FLAG_CTRL    4
 #define FLAG_ALT     8
@@ -220,5 +218,3 @@ array(object) MenuFactory( MenuDef ... definition )
   }
   return ({bar,table});
 }
-
-#endif
diff --git a/lib/modules/GTKSupport.pmod/Util.pmod b/lib/modules/GTKSupport.pmod/Util.pmod
index 286d98ae11..5c971a90e5 100644
--- a/lib/modules/GTKSupport.pmod/Util.pmod
+++ b/lib/modules/GTKSupport.pmod/Util.pmod
@@ -1,5 +1,3 @@
-#if constant(GTK.parse_rc)
-
 // This function will be easier to write in newer pikes, where there
 // will be a Image.ANY.decode function, but this will do for now. It
 // decoded an image from a string and returns a mapping with the
@@ -152,4 +150,3 @@ class signal_handling
   }
 }
 
-#endif
-- 
GitLab