diff options
| author | Neil Jagdish Patel <njpatel@Pulse> | 2010-07-30 13:46:52 +0100 |
|---|---|---|
| committer | Neil Jagdish Patel <njpatel@Pulse> | 2010-07-30 13:46:52 +0100 |
| commit | 9eb7364b11b395fc55a5c53307d2738557ec5d84 (patch) | |
| tree | e69e6a6194bfbbdc334b20fdb21a9ad9b41e6af0 /unity-private | |
| parent | 3bd8fbe74a709ad2dafb554e16d70e596d568d51 (diff) | |
Revert some stuff, fix dealing with Bamf stuff
(bzr r403.3.6)
Diffstat (limited to 'unity-private')
| -rw-r--r-- | unity-private/panel/panel-window-buttons.vala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unity-private/panel/panel-window-buttons.vala b/unity-private/panel/panel-window-buttons.vala index 669b6f97b..053bd941f 100644 --- a/unity-private/panel/panel-window-buttons.vala +++ b/unity-private/panel/panel-window-buttons.vala @@ -85,7 +85,7 @@ namespace Unity.Panel /* Shell will let us know when something changes with the active window */ global_shell.active_window_state_changed.connect (() => { Timeout.add (0, () => { - Bamf.Window? win = matcher.get_active_window (); + unowned Bamf.Window? win = matcher.get_active_window (); on_active_window_changed (null, win as GLib.Object); return false; @@ -96,11 +96,11 @@ namespace Unity.Panel private void on_active_window_changed (GLib.Object? object, GLib.Object? object1) { - Bamf.View? new_view = object1 as Bamf.View; + unowned Bamf.View? new_view = object1 as Bamf.View; if (new_view is Bamf.Window) { - Bamf.Window win = new_view as Bamf.Window; + unowned Bamf.Window win = new_view as Bamf.Window; bool allows_resize = false; bool is_maximized = false; @@ -127,7 +127,7 @@ namespace Unity.Panel last_xid = win.get_xid (); - Bamf.Application? app = matcher.get_active_application (); + unowned Bamf.Application? app = matcher.get_active_application (); if (app is Bamf.Application) { /* We lookup sync because we know that the launcher has already |
