help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] GTK+ binding generator


From: Gwenaël Casaccio
Subject: Re: [Help-smalltalk] GTK+ binding generator
Date: Tue, 19 Oct 2010 14:45:09 +0200

Hi,

I still have the warnings

Gwen

On Mon, Oct 18, 2010 at 7:18 PM, Paolo Bonzini <address@hidden> wrote:
> 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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-smalltalk
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]