Summary: Use GtkOrientation (migrate from gtk2) and fix
GdkModifierType mask handling
                 Project: Freeciv
            Submitted by: grakic
            Submitted on: Sun 26 Aug 2012 03:16:37 AM CEST
                Category: client-gtk-3.0
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 2.4.0-beta1
         Discussion Lock: Any
        Operating System: None
         Planned Release: 



Testing 2.4.0-beta1 release on Fedora 17 (the latest RandR-enabled nvidia
driver with two displays), using the deprecated gdk_window_get_pointer() to
get a current GdkModifierType mask does not work.

It is not possible to sell a improvement from the city dialog and help window
will open even without holding the Control key. When changed to use new
gdk_window_get_device_position() it works.

I also used a regular expression to update all hbox/vbox/... code to use new
API passing GtkOrientation argument.

The patch is attached.


File Attachments:

Date: Sun 26 Aug 2012 03:16:38 AM CEST  Name: freeciv-gtk3-deprecated.patch 
Size: 64kB   By: grakic
Patch against 2.4.0-beta1


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to