Skip to content

Commit 54dcaa4

Browse files
committed
Fix typo and remove deprecated FlutterRotateWindow (#59)
* Fix typo FlutterDestoryWindow * Remove FlutterRotateWindow
1 parent bbab29d commit 54dcaa4

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

shell/platform/tizen/flutter_tizen.cc

+1-6
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ FlutterWindowControllerRef FlutterCreateWindow(
3434
return state.release();
3535
}
3636

37-
void FlutterDestoryWindow(FlutterWindowControllerRef controller) {
37+
void FlutterDestroyWindow(FlutterWindowControllerRef controller) {
3838
if (controller->engine) {
3939
controller->engine->StopEngine();
4040
}
@@ -164,11 +164,6 @@ void FlutterNotifyLowMemoryWarning(FlutterWindowControllerRef controller) {
164164
}
165165
}
166166

167-
void FlutterRotateWindow(FlutterWindowControllerRef controller,
168-
int32_t degree) {
169-
FT_LOGW("Deprecated API. Use SystemChrome.setPreferredOrientations instead.");
170-
}
171-
172167
int64_t FlutterRegisterExternalTexture(
173168
FlutterTextureRegistrarRef texture_registrar) {
174169
FT_LOGD("FlutterDesktopRegisterExternalTexture");

shell/platform/tizen/public/flutter_tizen.h

+1-4
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ FLUTTER_EXPORT FlutterDesktopPluginRegistrarRef
6060
FlutterDesktopGetPluginRegistrar(FlutterWindowControllerRef controller,
6161
const char* plugin_name);
6262

63-
FLUTTER_EXPORT void FlutterDestoryWindow(FlutterWindowControllerRef controller);
63+
FLUTTER_EXPORT void FlutterDestroyWindow(FlutterWindowControllerRef controller);
6464

6565
FLUTTER_EXPORT bool FlutterRunsPrecompiledCode();
6666

@@ -82,9 +82,6 @@ FLUTTER_EXPORT void FlutterNotifyAppIsPaused(
8282
FLUTTER_EXPORT void FlutterNotifyAppIsDetached(
8383
FlutterWindowControllerRef controller);
8484

85-
FLUTTER_EXPORT void FlutterRotateWindow(FlutterWindowControllerRef controller,
86-
int32_t degree);
87-
8885
#if defined(__cplusplus)
8986
} // extern "C"
9087
#endif

0 commit comments

Comments
 (0)