hi, 
        i noticed that in gtkmodule the PyGdkWindow_GetAttr routine had 
two cases with the same name: "origin".  below is the patch to fix it.
        (cc any replies as i'm not on the list) 

                thanks, 
                 rob


--- cleanpygtk-0.6.8/gtkmodule.c        Mon Apr 23 00:18:21 2001
+++ pygtk-0.6.8/gtkmodule.c     Fri Jun  1 21:41:10 2001
@@ -1887,7 +1887,7 @@
            gdk_window_get_deskrelative_origin(win, &x, &y);
            return Py_BuildValue("(ii)", x, y);
        }
-       if (!strcmp(key, "origin")) {
+       if (!strcmp(key, "root_origin")) {
            gint x, y;
            gdk_window_get_root_origin(win, &x, &y);
            return Py_BuildValue("(ii)", x, y);


----
Robert Melby
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp:     ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt4255a
Internet: [EMAIL PROTECTED]

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to