geanyinsertnum - compatibility with gtk+ 3