Rename invocations of frame_create that were missed by ee7fefcf
authorCameron Stewart <cameron@shptech.com>
Fri, 18 Oct 2013 01:56:41 +0000 (01:56 +0000)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 22 Oct 2013 04:04:08 +0000 (21:04 -0700)
For some reason it not only compiled with different parameters but the
method succeeded and just failed later.

clients/gears.c
clients/view.c
clients/wscreensaver.c

index 30f4e68..93a86b4 100644 (file)
@@ -404,7 +404,7 @@ gears_create(struct display *display)
        gears = zalloc(sizeof *gears);
        gears->d = 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");
 
        gears->display = display_get_egl_display(gears->d);
index f5b1843..cedef08 100644 (file)
@@ -251,7 +251,7 @@ view_create(struct display *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);
        g_free(title);
        view->display = display;
index 9a2c47a..47f6c8a 100644 (file)
@@ -200,7 +200,7 @@ create_wscreensaver_instance(struct wscreensaver *screensaver,
                                        window_get_wl_surface(mi->window),
                                        output);
        } else {
-               mi->widget = frame_create(mi->window, mi);
+               mi->widget = window_frame_create(mi->window, mi);
        }
        widget_set_redraw_handler(mi->widget, redraw_handler);