summaryrefslogtreecommitdiff
path: root/LibC
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-13 21:47:14 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-13 21:47:14 +0100
commitef4e9860fdb013a5caf76dbd51b071914cb1588a (patch)
tree847248965ea3c2d1b7606ae2a8d2a85f580a7bcf /LibC
parentcf432b4c3d366edef40798a777ab2014715fd7f4 (diff)
downloadserenity-ef4e9860fdb013a5caf76dbd51b071914cb1588a.zip
WindowServer: Convert the remaining menu APIs into messages.
Diffstat (limited to 'LibC')
-rw-r--r--LibC/gui.cpp12
-rw-r--r--LibC/gui.h2
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