I just checked and in the .h file the file glibmm/refptr.h is required, so it should probably go there :_(
This gtk policy of having just one include is really annoying...