[metacity] core: Remove META_CORE_IS_TITLEBAR_ONSCREEN



commit 181909aa4a7b9bca21c95d0825675cd2d80a2021
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/include/core.h | 1 -
 2 files changed, 4 deletions(-)
---
diff --git a/src/core/core.c b/src/core/core.c
index 9b5cf841..5426f061 100644
--- a/src/core/core.c
+++ b/src/core/core.c
@@ -106,9 +106,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/include/core.h b/src/include/core.h
index 77a47be1..08e22a0a 100644
--- a/src/include/core.h
+++ b/src/include/core.h
@@ -33,7 +33,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]