getmax[xy] do that, even if obsolete, I don't care, I'll use them.
authorPierre Habouzit <madcoder@debian.org>
Mon, 13 Aug 2007 14:11:55 +0000 (16:11 +0200)
committerPierre Habouzit <madcoder@debian.org>
Mon, 13 Aug 2007 14:11:55 +0000 (16:11 +0200)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
lib-ui/layout.h

index b6e1446..82425fc 100644 (file)
@@ -31,16 +31,4 @@ void mutt_need_hard_redraw(void);
 void mutt_refresh(void);
 void mutt_endwin(const char *);
 
-static inline int ui_get_width(WINDOW *w) {
-    int x, y;
-    getmaxyx(w, y, x);
-    return y;
-}
-
-static inline int ui_get_height(WINDOW *w) {
-    int x, y;
-    getmaxyx(w, y, x);
-    return x;
-}
-
 #endif