Menu

#4 [patch] $Gtk2::Gdk::Keysyms{Q} doesn't work anymore

closed-invalid
nobody
None
5
2011-12-01
2011-02-24
Anonymous
No

I'm not sure when it stopped working, only discovered it today.

Perl throws this error:
Use of uninitialized value in subroutine entry at pkg/usr/bin/gprename line 162.
Gtk-CRITICAL **: IA__gtk_accel_group_connect: assertion `accel_key > 0' failed at pkg/usr/bin/gprename line 162.
and the accelerator ctrl-q does not show up in the menu.

It seems $Gtk2::Gdk::Keysyms{KEY_Q} is the right way now.

Perl version is 5.12.3
gtk2-perl version is 1.222
Operating system is arch linux, 64 bit.

Discussion

  • Zurd

    Zurd - 2011-12-01
    • status: open --> closed-invalid
     
  • Zurd

    Zurd - 2011-12-01

    I don't have this error on my system. Cannot reproduce it. If I change Q to KEY_Q, now gprename throws an error :
    Use of uninitialized value in subroutine entry at /usr/local/bin/gprename line 162.
    Gtk-CRITICAL **: gtk_accel_group_connect: assertion `accel_key > 0' failed at /usr/local/bin/gprename line 162.

    GPRename 2.6.6
    Gnome 2.30.2
    gtk2-perl 2:1.222-1
    Debian, 32 bits

     

Log in to post a comment.