Dynamic casting of the metadataWindow pointer into a Gtk:Window pointer in order to resize dynamically the metadata window. The size will be set properly in the next commit.