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

@ -54,7 +54,7 @@ int main(int argc, char *argv[])
GSource *source;
struct wl_screenshooter *screenshooter;
display = wl_display_create(socket_name, sizeof socket_name);
display = wl_display_connect(socket_name, sizeof socket_name);
if (display == NULL) {
fprintf(stderr, "failed to create display: %m\n");
return -1;