text: Remove surface arg in create_text_model
Remove the wl_surface argument from create_text_model request. The wl_surface is specified as an argument in the activate request instead. Signed-off-by: Jan Arne Petersen <jpetersen@openismus.com>
This commit is contained in:
committed by
Kristian Høgsberg
parent
547149a9c2
commit
4c26518ad1
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright © 2012 Openismus GmbH
|
||||
* Copyright © 2012 Intel Corporation
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software and its
|
||||
* documentation for any purpose is hereby granted without fee, provided that
|
||||
@@ -160,7 +160,7 @@ create_text_model(int fd, struct display *display)
|
||||
char buf[64];
|
||||
int len;
|
||||
|
||||
display->text_model = text_model_factory_create_text_model(display->factory, display->surface);
|
||||
display->text_model = text_model_factory_create_text_model(display->factory);
|
||||
text_model_add_listener(display->text_model, &text_model_listener, display);
|
||||
wl_display_flush(display->display);
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright © 2012 Openismus GmbH
|
||||
* Copyright © 2012 Intel Corporation
|
||||
*
|
||||
* Permission to use, copy, modify, distribute, and sell this software and
|
||||
* its documentation for any purpose is hereby granted without fee, provided
|
||||
|
||||
Reference in New Issue
Block a user