Re: gtk_atom_intern ("_GTK_READ_RCFILES", FALSE)



Em Mon, 3 Mar 2003 18:20:17 -0500, Havoc Pennington <hp redhat com> escreveu:

On Mon, Mar 03, 2003 at 07:43:01PM -0300, André Casteliano wrote:
    event.message_type = gdk_atom_intern("_GTK_READ_RCFILES",
FALSE);

GdkAtom can't be cast to X Atom anymore - you have to convert, there 
are functions in gdkx.h


  gdk_x11_get_xatom_by_name (string) is the same as gdk_atom_intern (string, FALSE) ? (both not working)

or I will have to do this (not working too):

  event.message_type = (GdkAtom) gdk_x11_xatom_to_atom (
                                        gdk_x11_atom_to_xatom (
                                                gdk_atom_intern ("_GTK_READ_RCFILES", FALSE)));
???

[]'s
-- 
André Casteliano

Linux User: # 178853    UIN: # 47717593
E-mail: digitalcoder users sourceforge net
Home Page: http://andre.mistermouse.com.br  



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