wayland_client: rename wl_display_create to wl_display_connect

Avoid conflict when using wayland-{server,client} together.
This commit is contained in:
Benjamin Franzke 2010-11-27 19:04:11 +01:00 committed by Kristian Høgsberg
parent c1ad1f9c9b
commit 35fd2a8cc6
4 changed files with 4 additions and 4 deletions

View file

@ -1425,7 +1425,7 @@ display_create(int *argc, char **argv[], const GOptionEntry *option_entries)
if (d == NULL)
return NULL;
d->display = wl_display_create(socket_name, sizeof socket_name);
d->display = wl_display_connect(socket_name, sizeof socket_name);
if (d->display == NULL) {
fprintf(stderr, "failed to create display: %m\n");
return NULL;