Skip to content

Commit cdc75c6

Browse files
committed
Fix build
1 parent c4c9c9c commit cdc75c6

File tree

4 files changed

+14
-28
lines changed

4 files changed

+14
-28
lines changed

daemon-gtk3/DBus.vala

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,6 @@
33
* SPDX-License-Identifier: GPL-3.0-or-later
44
*/
55

6-
public struct Gala.Daemon.DaemonWindowMenuItem {
7-
WindowMenuItemType type;
8-
bool sensitive;
9-
bool toggle_state;
10-
string display_name;
11-
string keybinding;
12-
}
13-
146
public struct Gala.Daemon.MonitorLabelInfo {
157
public int monitor;
168
public string label;

daemon/DBus.vala

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,6 @@
33
* SPDX-License-Identifier: GPL-3.0-or-later
44
*/
55

6-
public enum Gala.WindowMenuItemType {
7-
BUTTON,
8-
TOGGLE,
9-
SEPARATOR
10-
}
11-
12-
public struct Gala.DaemonWindowMenuItem {
13-
WindowMenuItemType type;
14-
bool sensitive;
15-
bool toggle_state;
16-
string display_name;
17-
string keybinding;
18-
}
19-
206
[DBus (name = "org.pantheon.gala")]
217
public interface Gala.WMDBus : GLib.Object {
228
public abstract void perform_action (Gala.ActionType type) throws DBusError, IOError;

lib/CommonEnums.vala

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@
77
*/
88

99
namespace Gala {
10+
public enum WindowMenuItemType {
11+
BUTTON,
12+
TOGGLE,
13+
SEPARATOR
14+
}
15+
16+
public struct DaemonWindowMenuItem {
17+
WindowMenuItemType type;
18+
bool sensitive;
19+
bool toggle_state;
20+
string display_name;
21+
string keybinding;
22+
}
23+
1024
public enum ActionType {
1125
NONE = 0,
1226
SHOW_MULTITASKING_VIEW,

lib/WindowManager.vala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ namespace Gala {
2626

2727
public delegate void WindowMenuItemCallback (Meta.Window window);
2828

29-
public enum WindowMenuItemType {
30-
BUTTON,
31-
TOGGLE,
32-
SEPARATOR
33-
}
34-
3529
public struct WindowMenuItem {
3630
WindowMenuItemType type;
3731
bool sensitive;

0 commit comments

Comments
 (0)