set destructor for xdg popups when setting implementation

popups never get deleted without this
This commit is contained in:
Mike Blumenkrantz 2016-03-31 14:04:47 -04:00
parent c529764660
commit 336721e693
1 changed files with 1 additions and 1 deletions

View File

@ -1230,7 +1230,7 @@ _e_xdg_shell_cb_popup_get(struct wl_client *client, struct wl_resource *resource
}
wl_resource_set_implementation(cdata->shell.surface,
&_e_xdg_popup_interface, ec, NULL);
&_e_xdg_popup_interface, ec, _e_shell_surface_destroy);
e_object_ref(E_OBJECT(ec));