forked from enlightenment/efl
ecore-evas-wl: Cleanup creating a wayland canvas
Unsure where all these extra display_connect calls came from, but remove them. @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
This commit is contained in:
parent
76fa1159c5
commit
04a4b599ab
|
@ -149,27 +149,6 @@ ecore_evas_wayland_egl_new_internal(const char *disp_name, unsigned int parent,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
ewd = ecore_wl2_display_connect(disp_name);
|
||||
if (!ewd)
|
||||
{
|
||||
ERR("Failed to connect to Wayland Display %s", disp_name);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ewd = ecore_wl2_display_connect(disp_name);
|
||||
if (!ewd)
|
||||
{
|
||||
ERR("Failed to connect to Wayland Display %s", disp_name);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ewd = ecore_wl2_display_connect(disp_name);
|
||||
if (!ewd)
|
||||
{
|
||||
ERR("Failed to connect to Wayland Display %s", disp_name);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!(ee = calloc(1, sizeof(Ecore_Evas))))
|
||||
{
|
||||
ERR("Failed to allocate Ecore_Evas");
|
||||
|
|
|
@ -148,27 +148,6 @@ ecore_evas_wayland_shm_new_internal(const char *disp_name, unsigned int parent,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
ewd = ecore_wl2_display_connect(disp_name);
|
||||
if (!ewd)
|
||||
{
|
||||
ERR("Failed to connect to Wayland Display %s", disp_name);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ewd = ecore_wl2_display_connect(disp_name);
|
||||
if (!ewd)
|
||||
{
|
||||
ERR("Failed to connect to Wayland Display %s", disp_name);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ewd = ecore_wl2_display_connect(disp_name);
|
||||
if (!ewd)
|
||||
{
|
||||
ERR("Failed to connect to Wayland Display %s", disp_name);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!(ee = calloc(1, sizeof(Ecore_Evas))))
|
||||
{
|
||||
ERR("Failed to allocate Ecore_Evas");
|
||||
|
|
Loading…
Reference in New Issue