From: Po Lu Date: Mon, 25 Apr 2022 05:51:42 +0000 (+0000) Subject: Delete some unused functions on Haiku X-Git-Tag: emacs-29.0.90~1931^2~320 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=91175a1fae92d521377bde8687d96b17556d1458;p=emacs.git Delete some unused functions on Haiku * src/haiku_support.cc (haiku_current_workspace) (BWindow_workspaces): * src/haiku_support.h: Remove unused functions and prototypes. --- diff --git a/src/haiku_support.cc b/src/haiku_support.cc index eb9379f17d7..f19631a22ab 100644 --- a/src/haiku_support.cc +++ b/src/haiku_support.cc @@ -3071,20 +3071,6 @@ BView_emacs_delete (void *view) delete vw; } -/* Return the current workspace. */ -uint32_t -haiku_current_workspace (void) -{ - return current_workspace (); -} - -/* Return a bitmask consisting of workspaces WINDOW is on. */ -uint32_t -BWindow_workspaces (void *window) -{ - return ((BWindow *) window)->Workspaces (); -} - /* Create a popup menu. */ void * BPopUpMenu_new (const char *name) diff --git a/src/haiku_support.h b/src/haiku_support.h index 0280f2cc181..6660b011a69 100644 --- a/src/haiku_support.h +++ b/src/haiku_support.h @@ -457,7 +457,6 @@ extern void BWindow_center_on_screen (void *); extern void BWindow_change_decoration (void *, int); extern void BWindow_set_tooltip_decoration (void *); extern void BWindow_set_avoid_focus (void *, int); -extern uint32_t BWindow_workspaces (void *); extern void BWindow_zoom (void *); extern void BWindow_set_min_size (void *, int, int); extern void BWindow_set_size_alignment (void *, int, int); @@ -550,7 +549,6 @@ extern void BView_convert_to_screen (void *, int *, int *); extern void BView_convert_from_screen (void *, int *, int *); extern void BView_emacs_delete (void *); -extern uint32_t haiku_current_workspace (void); extern void *BPopUpMenu_new (const char *);