examples: replace use of deprecated gdk_window_get_pointer()
examples: replace deprecated gtk_vbox_new() function