Skip to content
Snippets Groups Projects
Commit 2c457d05 authored by Per Hedbor's avatar Per Hedbor
Browse files

This #if constant() breaks things if the .pmods are installed when the GTK.so...

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
parent 5db8df11
No related branches found
No related tags found
No related merge requests found
#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
#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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment