diff --git a/plugins/pip/Main.vala b/plugins/pip/Main.vala index 7564d0295..c5976e7e2 100644 --- a/plugins/pip/Main.vala +++ b/plugins/pip/Main.vala @@ -49,7 +49,6 @@ public class Gala.Plugins.PIP.Plugin : Gala.Plugin { windows.clear (); } - [CCode (instance_pos = -1)] private void on_initiate (Meta.Display display, Meta.Window? window, Clutter.KeyEvent? event, Meta.KeyBinding binding) { selection_area = new SelectionArea (wm); diff --git a/src/ScreenshotManager.vala b/src/ScreenshotManager.vala index 4c43866fa..e7de439e3 100644 --- a/src/ScreenshotManager.vala +++ b/src/ScreenshotManager.vala @@ -67,7 +67,6 @@ public class Gala.ScreenshotManager : Object { notifications_manager.notification_closed.connect ((id) => notifications_id_to_path.remove (id)); } - [CCode (instance_pos = -1)] private void handle_screenshot ( Meta.Display display, Meta.Window? window, Clutter.KeyEvent? event, Meta.KeyBinding binding ) { diff --git a/src/WindowManager.vala b/src/WindowManager.vala index b3582876c..608aa1641 100644 --- a/src/WindowManager.vala +++ b/src/WindowManager.vala @@ -451,7 +451,6 @@ namespace Gala { return Clutter.EVENT_STOP; } - [CCode (instance_pos = -1)] private void handle_cycle_workspaces (Meta.Display display, Meta.Window? window, Clutter.KeyEvent? event, Meta.KeyBinding binding) { var direction = (binding.get_name () == "cycle-workspaces-next" ? 1 : -1); @@ -473,7 +472,6 @@ namespace Gala { } } - [CCode (instance_pos = -1)] private void handle_move_to_workspace (Meta.Display display, Meta.Window? window, Clutter.KeyEvent? event, Meta.KeyBinding binding) { if (window == null) { @@ -501,7 +499,6 @@ namespace Gala { } } - [CCode (instance_pos = -1)] private void handle_move_to_workspace_end (Meta.Display display, Meta.Window? window, Clutter.KeyEvent? event, Meta.KeyBinding binding) { if (window == null) { @@ -516,7 +513,6 @@ namespace Gala { workspace.activate_with_focus (window, timestamp); } - [CCode (instance_pos = -1)] private void handle_switch_to_workspace (Meta.Display display, Meta.Window? window, Clutter.KeyEvent? event, Meta.KeyBinding binding) { var timestamp = event != null ? event.get_time () : Meta.CURRENT_TIME; @@ -540,7 +536,6 @@ namespace Gala { } } - [CCode (instance_pos = -1)] private void handle_switch_to_workspace_end (Meta.Display display, Meta.Window? window, Clutter.KeyEvent? event, Meta.KeyBinding binding) { unowned Meta.WorkspaceManager manager = display.get_workspace_manager (); @@ -548,7 +543,6 @@ namespace Gala { manager.get_workspace_by_index (index).activate (event != null ? event.get_time () : Meta.CURRENT_TIME); } - [CCode (instance_pos = -1)] private void handle_applications_menu (Meta.Display display, Meta.Window? window, Clutter.KeyEvent? event, Meta.KeyBinding binding) { launch_action (ActionKeys.PANEL_MAIN_MENU_ACTION); diff --git a/src/Zoom.vala b/src/Zoom.vala index c5fac3d51..70120f019 100644 --- a/src/Zoom.vala +++ b/src/Zoom.vala @@ -66,13 +66,11 @@ public class Gala.Zoom : Object, GestureTarget, RootTarget { } } - [CCode (instance_pos = -1)] private void zoom_in (Meta.Display display, Meta.Window? window, Clutter.KeyEvent? event, Meta.KeyBinding binding) { zoom (SHORTCUT_DELTA, true); } - [CCode (instance_pos = -1)] private void zoom_out (Meta.Display display, Meta.Window? window, Clutter.KeyEvent? event, Meta.KeyBinding binding) { zoom (-SHORTCUT_DELTA, true);