Ruby Forum Ruby-Gnome 2 > renaming API when facing non standard decisions

Posted by Guillaume Cottenceau (Guest)
on 08.04.2008 16:05
(Received via mailing list)
I have noticed that currently there are non standard decisions in 
Gdk:Display:

Gdk::Display#supports_shapes
Gdk::Display#supports_input_shapes

should be named:

Gdk::Display#supports_shapes?
Gdk::Display#supports_input_shapes?

because they return true or false. Is it ok to just rename them, or do
we want to maintain compatibility with these incorrect names? There
are not even documented on hiki, and probably seldom used, so I think
we should maybe just rename them without compatibility..

--
Guillaume Cottenceau - http://zarb.org/~gc/
Posted by Kouhei Sutou (Guest)
on 08.04.2008 16:11
(Received via mailing list)
Hi,

In <dc3bf8580804080704l42aaeb47md5de9886e51557d1@mail.gmail.com>
  "[ruby-gnome2-devel-en] renaming API when facing non standard 
decisions" on Tue, 8 Apr 2008 16:04:53 +0200,
  "Guillaume Cottenceau" <gcottenc@gmail.com> wrote:

> because they return true or false. Is it ok to just rename them, or do
> we want to maintain compatibility with these incorrect names? There
> are not even documented on hiki, and probably seldom used, so I think
> we should maybe just rename them without compatibility..

Ah, right. Please just rename.


Thanks,
--
kou