From b533ad2669c593bc060d4f8de3002c7ad212b647 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 15 Jun 2011 21:12:14 +0200 Subject: [PATCH] core: Remove META_CORE_IS_TITLEBAR_ONSCREEN The functionality is no longer needed outside of core/, so remove the getter. https://bugzilla.gnome.org/show_bug.cgi?id=652369 --- src/core/core.c | 3 --- src/core/core.h | 1 - 2 files changed, 4 deletions(-) diff --git a/src/core/core.c b/src/core/core.c index 6a6355a68..d60d88ac1 100644 --- a/src/core/core.c +++ b/src/core/core.c @@ -107,9 +107,6 @@ meta_core_get (Display *xdisplay, case META_CORE_GET_CLIENT_HEIGHT: *((gint*)answer) = window->rect.height; break; - case META_CORE_IS_TITLEBAR_ONSCREEN: - *((gboolean*)answer) = meta_window_titlebar_is_onscreen (window); - break; case META_CORE_GET_CLIENT_XWINDOW: *((Window*)answer) = window->xwindow; break; diff --git a/src/core/core.h b/src/core/core.h index 9a8af7650..39414cff1 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -35,7 +35,6 @@ typedef enum META_CORE_WINDOW_HAS_FRAME, META_CORE_GET_CLIENT_WIDTH, META_CORE_GET_CLIENT_HEIGHT, - META_CORE_IS_TITLEBAR_ONSCREEN, META_CORE_GET_CLIENT_XWINDOW, META_CORE_GET_FRAME_FLAGS, META_CORE_GET_FRAME_TYPE,