Rename invocations of frame_create that were missed by ee7fefcf

For some reason it not only compiled with different parameters but the
method succeeded and just failed later.
dev
Cameron Stewart 11 years ago committed by Kristian Høgsberg
parent cc5b2ed2b8
commit 4c4bb953fc
  1. 2
      clients/gears.c
  2. 2
      clients/view.c
  3. 2
      clients/wscreensaver.c

@ -404,7 +404,7 @@ gears_create(struct display *display)
gears = zalloc(sizeof *gears); gears = zalloc(sizeof *gears);
gears->d = display; gears->d = display;
gears->window = window_create(display); gears->window = window_create(display);
gears->widget = frame_create(gears->window, gears); gears->widget = window_frame_create(gears->window, gears);
window_set_title(gears->window, "Wayland Gears"); window_set_title(gears->window, "Wayland Gears");
gears->display = display_get_egl_display(gears->d); gears->display = display_get_egl_display(gears->d);

@ -251,7 +251,7 @@ view_create(struct display *display,
} }
view->window = window_create(display); view->window = window_create(display);
view->widget = frame_create(view->window, view); view->widget = window_frame_create(view->window, view);
window_set_title(view->window, title); window_set_title(view->window, title);
g_free(title); g_free(title);
view->display = display; view->display = display;

@ -200,7 +200,7 @@ create_wscreensaver_instance(struct wscreensaver *screensaver,
window_get_wl_surface(mi->window), window_get_wl_surface(mi->window),
output); output);
} else { } else {
mi->widget = frame_create(mi->window, mi); mi->widget = window_frame_create(mi->window, mi);
} }
widget_set_redraw_handler(mi->widget, redraw_handler); widget_set_redraw_handler(mi->widget, redraw_handler);

Loading…
Cancel
Save