[mutter] core: Remove META_CORE_IS_TITLEBAR_ONSCREEN



commit b533ad2669c593bc060d4f8de3002c7ad212b647
Author: Florian MÃllner <fmuellner gnome org>
Date:   Wed Jun 15 21:12:14 2011 +0200

    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, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/core/core.c b/src/core/core.c
index 6a6355a..d60d88a 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 9a8af76..39414cf 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]