summaryrefslogtreecommitdiff
path: root/extra/gnome-python-desktop/gnome-python-desktop-2.32.0-metacity-build.patch
blob: 5054dd2bdff6ad17b22fa0a0a61ba378ec6f2e96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From: Daniel Drake <dsd@laptop.org>

Fix build against metacity-2.34.2. The port to GSettings
removed these constants from the codebase.

Index: gnome-python-desktop-2.32.0/metacity/metacity.defs
===================================================================
--- gnome-python-desktop-2.32.0.orig/metacity/metacity.defs
+++ gnome-python-desktop-2.32.0/metacity/metacity.defs
@@ -120,32 +120,6 @@
   )
 )
 
-(define-enum FocusMode
-  (in-module "Meta")
-  (c-name "MetaFocusMode")
-;   (gtype-id "META_TYPE_FOCUS_MODE")
-  (values
-    '("click" "META_FOCUS_MODE_CLICK")
-    '("sloppy" "META_FOCUS_MODE_SLOPPY")
-    '("mouse" "META_FOCUS_MODE_MOUSE")
-  )
-)
-
-(define-enum ActionTitlebar
-  (in-module "Meta")
-  (c-name "MetaActionTitlebar")
-;   (gtype-id "META_TYPE_ACTION_TITLEBAR")
-  (values
-    '("toggle-shade" "META_ACTION_TITLEBAR_TOGGLE_SHADE")
-    '("toggle-maximize" "META_ACTION_TITLEBAR_TOGGLE_MAXIMIZE")
-    '("minimize" "META_ACTION_TITLEBAR_MINIMIZE")
-    '("none" "META_ACTION_TITLEBAR_NONE")
-    '("lower" "META_ACTION_TITLEBAR_LOWER")
-    '("menu" "META_ACTION_TITLEBAR_MENU")
-    '("last" "META_ACTION_TITLEBAR_LAST")
-  )
-)
-
 (define-enum FrameType
   (in-module "Meta")
   (c-name "MetaFrameType")