[PATCH] Rename invocations of frame_create that were missed by ee7fefcf

Cameron Stewart cameron at shptech.com
Fri Oct 18 03:56:41 CEST 2013


For some reason it not only compiled with different parameters but the method succeeded and just failed later.
---
 clients/gears.c        | 2 +-
 clients/view.c         | 2 +-
 clients/wscreensaver.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/clients/gears.c b/clients/gears.c
index 30f4e68..93a86b4 100644
--- a/clients/gears.c
+++ b/clients/gears.c
@@ -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);
diff --git a/clients/view.c b/clients/view.c
index f5b1843..cedef08 100644
--- a/clients/view.c
+++ b/clients/view.c
@@ -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;
diff --git a/clients/wscreensaver.c b/clients/wscreensaver.c
index 9a2c47a..47f6c8a 100644
--- a/clients/wscreensaver.c
+++ b/clients/wscreensaver.c
@@ -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);
 
-- 
1.8.4.1



More information about the wayland-devel mailing list