From: Detlef R. <det...@gm...> - 2014-11-26 19:04:52
|
Hi, Am 24.11.2014 um 09:35 schrieb Kouhei Sutou: > Hi, > > In <547...@gm...> > "[ruby-gnome2-devel-en] Gdk::Window::ModifierType::CONTROL_MASK replacement" on Sun, 23 Nov 2014 12:47:22 +0100, > Detlef Reichl <det...@gm...> wrote: > >> ruby gdk3 asserts that Gdk::Window::ModifierType::CONTROL_MASK is >> deprecated. >> >>> 'Gdk::Window::ModifierType::CONTROL_MASK' has been deprecated. Use 'Gdk::ModifierType::CONTROL_MASK' or ':control_mask'. >> >> but Gdk::ModifierType::CONTROL_MASK is not defined and for code, where >> you have to check combinations of several flags the symbols are not usable. > > Really? I can access Gdk::ModifierType::CONTROL_MASK: > > % ruby -v -r gdk3 -e 'p Gdk::ModifierType::CONTROL_MASK' > ruby 2.1.4p265 (2014-10-27) [x86_64-linux-gnu] > #<Gdk::ModifierType control-mask> > Me too :-) There was some old cruft in dusty corners... Thank you! detlef > > Thanks, > -- > kou > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > ruby-gnome2-devel-en mailing list > rub...@li... > https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en > |