GDK Errors

Linux specific forum
Alex
User
User
Posts: 41
Joined: Fri Aug 19, 2005 8:14 pm

GDK Errors

Post by Alex »

I hope someone can help me with this.

I'm getting the following GDK error:

Code: Select all

Gdk-ERROR **: BadMatch (invalid parameter attributes)
 serial 38 error_code 8 request_code 53 minor_code 0 
From the following code:

Code: Select all

PROGRAM_TO_RUN$=ProgramParameter()

Main:
UsePNGImageDecoder()
LoadImage(1,"/usr/share/kiosk/opcom_logo.png")
 
If OpenWindow(0,0,0,513,327,#PB_Window_SystemMenu|#PB_Event_CloseWindow|#PB_Window_ScreenCentered,"Card Manager")
    CreateGadgetList(WindowID(0))
    ImageGadget(100,0,0,513,327,UseImage(1))
    TextGadget(0, 213,16,250,14,"Please type your card number below:")
    TextGadget(1, 213,46,250,14,"If you do not have a card, you may")
    TextGadget(2, 213,62,250,14,"purchase one at the front desk")
    ButtonGadget(3,214,125,95,30,"Activate Card")
    ButtonGadget(4,318,125,95,30,"Cancel") 
    StringGadget(5,213, 95,200,20,"")
    ActivateGadget(5)

Repeat
      Event = WaitWindowEvent()
      If Event = #PB_Event_Gadget
        Select EventGadgetID()
	   Case 3 : CARD_INPUT$ = GetGadgetText(5)
		End
		TextGadget(6,18,170,200,40,CARD_INPUT$)
	   Case 4 : Event = #PB_Event_CloseWindow
        EndSelect
      EndIf
    Until Event = #PB_Event_CloseWindow
  EndIf
End
Return

I'm using SlackWare 9.1, and upgrading is not currently possible. The following GDK and GTK libraries are on the box in question:


GDK:

gdk_pixbufConf.sh
libgdk_pixbuf.a
gdk_pixbuf_xlibConf.sh
libgdk_pixbuf.la*
libgdk-1.2.so.0@
libgdk_pixbuf.so@
libgdk-1.2.so.0.9.1*
libgdk_pixbuf.so.2@
libgdk-x11-2.0.la
libgdk_pixbuf.so.2.0.0*
libgdk-x11-2.0.so@
libgdk_pixbuf_xlib-2.0.la*
libgdk-x11-2.0.so.0@
libgdk_pixbuf_xlib-2.0.so@
libgdk-x11-2.0.so.0.200.4*
libgdk_pixbuf_xlib-2.0.so.0@
libgdk.a
libgdk_pixbuf_xlib-2.0.so.0.200.4*
libgdk.la*
libgdk_pixbuf_xlib.a
libgdk.so@
libgdk_pixbuf_xlib.la*
libgdk_imlib.a
libgdk_pixbuf_xlib.so@
libgdk_imlib.la*
libgdk_pixbuf_xlib.so.2@
libgdk_imlib.so@
libgdk_pixbuf_xlib.so.2.0.0*
libgdk_imlib.so.1@
libgdkcardimage.a
libgdk_imlib.so.1.9.14*
libgdkcardimage.la*
libgdk_pixbuf-2.0.la*
libgdkcardimage.so@
libgdk_pixbuf-2.0.so@
libgdkcardimage.so.0@
libgdk_pixbuf-2.0.so.0@
libgdkcardimage.so.0.0.0*
libgdk_pixbuf-2.0.so.0.200.4*

gdk-pixbuf:
loaders/


GTK:

libgtk-1.2.so.0@
libgtkhtml-2.a
libgtk-1.2.so.0.9.1*
libgtkhtml-2.la*
libgtk-x11-2.0.la
libgtkhtml-2.so@
libgtk-x11-2.0.so@
libgtkhtml-2.so.0@
libgtk-x11-2.0.so.0@
libgtkhtml-2.so.0.0.0*
libgtk-x11-2.0.so.0.200.4*
libgtksourceview-1.0.la*
libgtk.a
libgtksourceview-1.0.so@
libgtk.la*
libgtksourceview-1.0.so.0@
libgtk.so@
libgtksourceview-1.0.so.0.0.0*
libgtkhex.a
libgtkspell.a
libgtkhex.la*
libgtkspell.la*
libgtkhex.so@
libgtkspell.so@
libgtkhex.so.0@
libgtkspell.so.0@
libgtkhex.so.0.0.0*
libgtkspell.so.0.0.0*

gtk-2.0:
2.2.0/ include/ modules/

Thanks,

Alex
"How is it possible to bring order out of memory? I should like to begin at the beginning, patiently, like a weaver at his loom. I should like to say, 'This is the place to start, there can be no other.'

-Beryl Markham