@Spiker01 in most operating systems there is a `PATH` environment variable that lists directories to look in for executables. In your case in Linux, usually `/usr` comes before `/usr/local` in the search order (try `echo $PATH` at command line to see). If you have an executable named `geany` in `/usr/bin` (the old version from the repos) and one in `/usr/local/bin` (the shiny new version you compiled), it's going to always use the old one in `/usr/bin`.
The simplest solution is to just remove the out-of-date Geany package you have installed from your distro repos (ex. `apt-get remove geany` for Debian-like distros) and everything will just work. Otherwise you have to fiddle with your `PATH` or specify the full path to which version of Geany you want to use as @elextr said.