On 10/18/2010 06:33 PM, Holger Hans Peter Freyther wrote:
> The problem is that... the function is called
>
> g_bus_something, so the awk script asssumes the Object is called GBus but in
> that case it is GDBus(Connection) or such...
Thanks for the help, try this:
--- a/packages/gtk/funcs.awk
+++ b/packages/gtk/funcs.awk
@@ -100,10 +100,12 @@ BEGIN {
ptr_type["#cObject"] = "#cObject"
# Fix asymmetry
- method_regexp =
"^g_param_values?_|^g_param_type_|^gtk_file_chooser_|^gdk_window_"
+ method_regexp =
"^g_bus_|^g_param_values?_|^g_param_type_|^gtk_file_chooser_|^gdk_window_"
+ prefix_class["g_bus_"] = "GDBusConnection"
prefix_class["g_param_value_"] = "GParamSpec"
prefix_class["g_param_values_"] = "GParamSpec"
prefix_class["g_param_type_"] = "GParamSpec"
+ self_class["g_bus_"] = "GDBusConnection"
self_class["g_param_value_"] = "GParamSpec"
self_class["g_param_values_"] = "GParamSpec"
self_class["g_param_type_"] = "GParamSpec"
Paolo
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk