diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-13 21:47:14 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-13 21:47:14 +0100 |
commit | ef4e9860fdb013a5caf76dbd51b071914cb1588a (patch) | |
tree | 847248965ea3c2d1b7606ae2a8d2a85f580a7bcf /LibC | |
parent | cf432b4c3d366edef40798a777ab2014715fd7f4 (diff) | |
download | serenity-ef4e9860fdb013a5caf76dbd51b071914cb1588a.zip |
WindowServer: Convert the remaining menu APIs into messages.
Diffstat (limited to 'LibC')
-rw-r--r-- | LibC/gui.cpp | 12 | ||||
-rw-r--r-- | LibC/gui.h | 2 |
2 files changed, 0 insertions, 14 deletions
diff --git a/LibC/gui.cpp b/LibC/gui.cpp index bf8530fa4e..da1fecef05 100644 --- a/LibC/gui.cpp +++ b/LibC/gui.cpp @@ -68,15 +68,3 @@ int gui_set_global_cursor_tracking_enabled(int window_id, bool enabled) int rc = syscall(SC_gui_set_global_cursor_tracking_enabled, window_id, enabled); __RETURN_WITH_ERRNO(rc, rc, -1); } - -int gui_menu_add_separator(int menu_id) -{ - int rc = syscall(SC_gui_menu_add_separator, menu_id); - __RETURN_WITH_ERRNO(rc, rc, -1); -} - -int gui_menu_add_item(int menu_id, unsigned identifier, const char* text) -{ - int rc = syscall(SC_gui_menu_add_item, menu_id, identifier, text); - __RETURN_WITH_ERRNO(rc, rc, -1); -} diff --git a/LibC/gui.h b/LibC/gui.h index ab563db558..4b7abbb88d 100644 --- a/LibC/gui.h +++ b/LibC/gui.h @@ -16,8 +16,6 @@ int gui_set_window_title(int window_id, const char*, size_t); int gui_get_window_rect(int window_id, GUI_Rect*); int gui_set_window_rect(int window_id, const GUI_Rect*); int gui_set_global_cursor_tracking_enabled(int window_id, bool); -int gui_menu_add_separator(int menu_id); -int gui_menu_add_item(int menu_id, unsigned identifier, const char* text); __END_DECLS |