toolbar-editor: Fix a crash when dropping an item to the toolbar

https://git.gnome.org/browse/evince/commit/?h=gnome-3-4&id=c528881454c18ab29e300c3e3f2726409806eed3