gdk_window_get_parent assertion failed sometimes.

2003-06-18 Thread James Su
I had reported this issue on bugzilla, the id is 115432. When I close some kinds of window, gtk will go into a dead loop and report the following error again and again: (gtk-demo:30093): Gdk-CRITICAL **: file gdkwindow.c: line 526 (gdk_window_get_parent): assertion `GDK_IS_WINDOW (window)'

Re: Maybe a bug of gtk/gdk ?

2003-03-31 Thread James Su
Hi, Sorry, I'm using gtk+2.2.1. I'll check GTK+ HEAD later. But I wonder if this fix will be merged into 2.2 series? Regards James Su Sven Neumann wrote: Hi, James Su [EMAIL PROTECTED] writes: when I call gtk_init (argc, argv) with argc == 0, the program crashed at gdk_parse_args

Re: Can I make a IM Module resident?

2003-03-31 Thread James Su
hole :-) Regards James Su Owen Taylor wrote: On Sun, 2003-03-30 at 21:32, James Su wrote: Hi, I tried to use g_type_module_register_type () to register my class. This time, the application is never crashed, but the IM module is never unloaded. What's the matter with it? As long

Re: Can I make a IM Module resident?

2003-03-30 Thread James Su
Hi, I tried to use g_type_module_register_type () to register my class. This time, the application is never crashed, but the IM module is never unloaded. What's the matter with it? Regards James Su Owen Taylor wrote: On Fri, 2003-03-28 at 03:31, James Su wrote: Oh, I see. But the interface

Maybe a bug of gtk/gdk ?

2003-03-30 Thread James Su
argc 0 in the documentation and force application send a valid data to gtk_init? Regards James Su ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Can I make a IM Module resident?

2003-03-28 Thread James Su
Oh, I see. But the interface of this function is different with the static one, could you please give me some hint on how to use it? The GTypeInfo parameter is replaced by a GTypePlugin pointer. Could you please tell me how can I convert a GTypeInfo into GTypePlugin? Regards James Su Sven

Re: Can I make a IM Module resident?

2003-03-28 Thread James Su
Hi, The class I registered is not the im module class, it's another class defined by myself. The im class is registered by g_type_module_register_type(). Regards James Su Sven Neumann wrote: Hi, James Su [EMAIL PROTECTED] writes: Recently, I'm developing a IM Module for gtk+-2.x, but I

Re: Can I make a IM Module resident?

2003-03-27 Thread James Su
Hi, The class I registered is not the im module class, it's another class defined by myself. The im class is registered by g_type_module_register_type(). Regards James Su Sven Neumann wrote: Hi, James Su [EMAIL PROTECTED] writes: Recently, I'm developing a IM Module for gtk+-2.x, but I met

Re: Can I make a IM Module resident?

2003-03-27 Thread James Su
Yes, I had tried it. But the application is crashed when the IM Module is loaded the third time. Regards James Su James Durie wrote: On Thu, 2003-03-27 at 12:32, James Su wrote: Hi, The class I registered is not the im module class, it's another class defined by myself. The im class

Re: Can I make a IM Module resident?

2003-03-27 Thread James Su
Then, how can I use my own class within a IM module? There is no type register function like g_type_register_dynamic. Regards James Su Sven Neumann wrote: Hi, James Su [EMAIL PROTECTED] writes: The class I registered is not the im module class, it's another class defined by myself. The im

Can I make a IM Module resident?

2003-03-26 Thread James Su
registered. In order to solve this problem, I realized that I must make my IM module resident in the memory to prevent my class being registered twice. I don't know if it's OK to use g_type_module_use within im_module_init to make it resident? Or what else can I do to solve the problem? Regards James Su

gtktextdisplay failed to work on a StrongARM SA1110 embedded system.

2003-01-24 Thread James Su
pixel pcf unicode font available. All other widgets show text very well, including CJK text. Can anyone give me some hint or suggestion? Regards James Su ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Does gtk-2.0 support 4 bits per pixel graphical format?

2003-01-09 Thread James Su
Hi, I'm going to port DirectFB and GTK-DirectFB to a embedded board with a 4bpp LCD monitor, so I want to know if it's possible for gtk+-2.0.x? Regards James Su ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk

Does gtk-2.0 support 4 bits per pixel graphical format?

2003-01-08 Thread James Su
Hi, I'm going to port DirectFB and GTK-DirectFB to a embedded board with a 4bpp LCD monitor, so I want to know if it's possible for gtk+-2.0.x? Regards James Su ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk

Bug in gtk+-2.0.7?

2002-11-07 Thread James Su
I just tried gtk+ 2.0.7, but gtk-demo cannot run, following message appeared: gtk-demo: relocation error: /usr/lib/gtk-2.0/2.0.0/loaders/libpixbufloader-gif.so: undefined symbol: CHECK_LZWP_SP ___ gtk-list mailing list [EMAIL PROTECTED]

Re: Bug in gtk+-2.0.7?

2002-11-07 Thread James Su
Hi, It's just a typo in io-gif.c. The patch is attached. Regards James Su Olexiy Avramchenko wrote: James Su wrote: I just tried gtk+ 2.0.7, but gtk-demo cannot run, following message appeared: gtk-demo: relocation error: /usr/lib/gtk-2.0/2.0.0/loaders/libpixbufloader-gif.so: undefined

Bug in gtk+-2.0.7?

2002-11-06 Thread James Su
I just tried gtk+ 2.0.7, but gtk-demo cannot run, following message appeared: gtk-demo: relocation error: /usr/lib/gtk-2.0/2.0.0/loaders/libpixbufloader-gif.so: undefined symbol: CHECK_LZWP_SP ___ gtk-list mailing list [EMAIL PROTECTED]

Re: Can I have multiply copy of gtk-2.0 with different gdktargetsinstalled within my system?

2002-10-28 Thread James Su
Hi, Did you mean we cannot use immodules within gtk-directfb? It will be very pity if it's true. And I noticed that the immmodules binary of gtk2-directfb are all linked to libgdk-directfb and libgtk-directfb. Regards James Su Sven Neumann wrote: Hi, James Su [EMAIL PROTECTED] writes: I

Re: Can I have multiply copy of gtk-2.0 with different gdktargetsinstalled within my system?

2002-10-28 Thread James Su
Is it possible to fix this problem without breaking the binary compatibility? I don't know if it's OK that we move /usr/lib/gtk-2.0 to /usr/lib/gtk-2.0-x11 for gtk2-x11 and to /usr/lib/gtk-2.0-directfb for gtk2-directfb? Regards James Su Sven Neumann wrote: Hi, James Su [EMAIL PROTECTED

Re: Can I have multiply copy of gtk-2.0 with different gdktargetsinstalled within my system?

2002-10-28 Thread James Su
? Regards James Su Sven Neumann wrote: Hi, James Su [EMAIL PROTECTED] writes: And even more, can I have an application switches between gtk2-x11 and gtk2-directfb without recompile? Is there any way to achieve this kind of dynamic link? as far as I know this unfortunately doesn't work

Can I have multiply copy of gtk-2.0 with different gdktargets installedwithin my system?

2002-10-25 Thread James Su
Hi all, I want to install both gtk-2.0 with x11 gdktarget and directfb gdktarget into my system, if it's possible, how can I do it? Regards James Su ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Can I have multiply copy of gtk-2.0 with different gdktargetsinstalled within my system?

2002-10-25 Thread James Su
Thank you very much. And even more, can I have an application switches between gtk2-x11 and gtk2-directfb without recompile? Is there any way to achieve this kind of dynamic link? Regards James Su Sven Neumann wrote: Hi, James Su [EMAIL PROTECTED] writes: I want to install both gtk-2.0

Some question about XIM Input Method.

2002-07-02 Thread James Su
PreeditCallbacks mode. Do you have any idea on these problems? Regards James Su ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Pango-1.0.2 released

2002-05-29 Thread James Su
? Regards James Su Owen Taylor wrote: Pango-1.0.2 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.0/ This is a mostly a bug fix release and is source and binary compatible with Pango-1.0.1. About Pango === Pango is a library for layout and rendering of text, with an emphasis

Re: GTK+-2.0.1 released

2002-03-30 Thread James Su
Hi, I found that the immodules and loaders of gtk+-2.0.1 were installed into /usr/lib/gtk-2.0/2.0.0/. Should it be /usr/lib/gtk-2.0/2.0.1/ ? Is it a bug or typo? Regards James Su Owen Taylor wrote: GTK+-2.0.1 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.0/ along with new

Can I get the screen resolution via Gdk/Gtk ?

2001-06-27 Thread James Su
Hello, I want to get the screen resolution (dpi), but how can I do it within gdk/gtk? Regards, James Su ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list