Glib and Glib/GTK+ bindings

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Glib and Glib/GTK+ bindings

Holger Freyther
Hi,

our awk scripts probably need another update.


Error:
Object: nil error: did not understand #methodsFor:
Smalltalk.MessageNotUnderstood(Smalltalk.Exception)>>signal (ExcHandling.st:254)
Smalltalk.UndefinedObject(Smalltalk.Object)>>doesNotUnderstand: #methodsFor:
(SysExcept.st:1442)
Smalltalk.UndefinedObject>>executeStatements (GTK.star#VFS.ZipFile/Funcs.st:524)
/home/ich/install/gst/share/smalltalk/GTK.star#VFS.ZipFile/Funcs.st:526:
expected object

Funcs.st:526
!GSource methodsFor: 'C call-outs'!
setDummyCallback
    <cCall: 'g_source_set_dummy_callback' returning: #void
        args: #( #self )>! !

glib:
glib-dev 2.28.6-0ubuntu1
gmain.h should have the Funcs.st...


_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Glib and Glib/GTK+ bindings

Paolo Bonzini-2
On 06/03/2011 02:51 AM, Holger Hans Peter Freyther wrote:

> Hi,
>
> our awk scripts probably need another update.
>
>
> Error:
> Object: nil error: did not understand #methodsFor:
> Smalltalk.MessageNotUnderstood(Smalltalk.Exception)>>signal (ExcHandling.st:254)
> Smalltalk.UndefinedObject(Smalltalk.Object)>>doesNotUnderstand: #methodsFor:
> (SysExcept.st:1442)
> Smalltalk.UndefinedObject>>executeStatements (GTK.star#VFS.ZipFile/Funcs.st:524)
> /home/ich/install/gst/share/smalltalk/GTK.star#VFS.ZipFile/Funcs.st:526:
> expected object
>
> Funcs.st:526
> !GSource methodsFor: 'C call-outs'!
> setDummyCallback
>      <cCall: 'g_source_set_dummy_callback' returning: #void
>          args: #( #self )>! !
>
> glib:
> glib-dev 2.28.6-0ubuntu1
> gmain.h should have the Funcs.st...

Is this enough?

diff --git a/packages/gtk/funcs.awk b/packages/gtk/funcs.awk
index a42cb02..4157ff0 100644
--- a/packages/gtk/funcs.awk
+++ b/packages/gtk/funcs.awk
@@ -62,6 +62,7 @@ BEGIN {
      type["GScanner"] = "__skip_this__"
      type["GBoxed"] = "__skip_this__"
      type["GSignal"] = "__skip_this__"
+    type["GSource"] = "__skip_this__"

      type["PangoCoverage"] = "__skip_this__" #FIXME


Paolo

_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Glib and Glib/GTK+ bindings

Holger Freyther
On 06/07/2011 05:16 PM, Paolo Bonzini wrote:

>
> Is this enough?
>

it makes the warning go away.

_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk