Merge lp:~unity-team/unity/death-to-wncky into lp:unity

Proposed by Jason Smith
Status: Merged
Approved by: Gord Allott
Approved revision: no longer in the source branch.
Merged at revision: 326
Proposed branch: lp:~unity-team/unity/death-to-wncky
Merge into: lp:unity
Diff against target: 592 lines (+106/-263)
11 files modified
configure.ac (+0/-1)
targets/mutter/Makefile.am (+0/-1)
targets/mutter/expose-manager.vala (+30/-35)
targets/mutter/plugin.vala (+70/-211)
targets/mutter/window-management.vala (+5/-9)
targets/unity/Makefile.am (+0/-1)
targets/unity/main.vala (+0/-1)
tests/ui/Makefile.am (+0/-1)
tests/unit/Makefile.am (+0/-1)
unity-private/testing/test-window.vala (+1/-1)
unity/Makefile.am (+0/-1)
To merge this branch: bzr merge lp:~unity-team/unity/death-to-wncky
Reviewer Review Type Date Requested Status
Gord Allott (community) Approve
Review via email: mp+27217@code.launchpad.net

Description of the change

Removes build deps on libwnck except in the testing case.

To post a comment you must log in.
Revision history for this message
Gord Allott (gordallott) wrote :

seems to work okay for me, approved

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'configure.ac'
--- configure.ac 2010-06-08 08:55:30 +0000
+++ configure.ac 2010-06-10 00:36:28 +0000
@@ -107,7 +107,6 @@
107 gconf-2.0107 gconf-2.0
108 indicator108 indicator
109 libbamf >= 0.2109 libbamf >= 0.2
110 libwnck-1.0 >= 2.28.0
111 unique-1.0110 unique-1.0
112 unity-misc111 unity-misc
113 x11)112 x11)
114113
=== modified file 'targets/mutter/Makefile.am'
--- targets/mutter/Makefile.am 2010-06-04 11:23:01 +0000
+++ targets/mutter/Makefile.am 2010-06-10 00:36:28 +0000
@@ -44,7 +44,6 @@
44 --pkg gee-1.0 \44 --pkg gee-1.0 \
45 --pkg indicator \45 --pkg indicator \
46 --pkg mutter-2.28 \46 --pkg mutter-2.28 \
47 --pkg libwnck-1.0 \
48 --pkg unique-1.0 \47 --pkg unique-1.0 \
49 --pkg x11 \48 --pkg x11 \
50 --pkg unity-const \49 --pkg unity-const \
5150
=== modified file 'targets/mutter/expose-manager.vala'
--- targets/mutter/expose-manager.vala 2010-04-26 13:47:08 +0000
+++ targets/mutter/expose-manager.vala 2010-06-10 00:36:28 +0000
@@ -26,7 +26,7 @@
26 private Clutter.Actor darken_box;26 private Clutter.Actor darken_box;
27 private bool hovered;27 private bool hovered;
2828
29 public unowned Mutter.Window source { get; private set; }29 public unowned Clutter.Actor source { get; private set; }
3030
31 public uint8 hovered_opacity { get; set; }31 public uint8 hovered_opacity { get; set; }
32 public uint8 unhovered_opacity { get; set; }32 public uint8 unhovered_opacity { get; set; }
@@ -41,7 +41,7 @@
41 }41 }
42 }42 }
4343
44 public ExposeClone (Mutter.Window source)44 public ExposeClone (Clutter.Actor source)
45 {45 {
46 darken = 0;46 darken = 0;
47 hovered_opacity = 255;47 hovered_opacity = 255;
@@ -130,7 +130,7 @@
130 {130 {
131 }131 }
132132
133 public void start_expose (SList<Wnck.Window> windows)133 public void start_expose (SList<Clutter.Actor> windows)
134 {134 {
135 var controller = Launcher.QuicklistController.get_default ();135 var controller = Launcher.QuicklistController.get_default ();
136 if (controller.menu_is_open ())136 if (controller.menu_is_open ())
@@ -150,36 +150,28 @@
150 expose_group.raise_top ();150 expose_group.raise_top ();
151 expose_group.show ();151 expose_group.show ();
152152
153 unowned GLib.List<Mutter.Window> mutter_windows = owner.plugin.get_windows ();153 foreach (Clutter.Actor actor in windows)
154 foreach (Mutter.Window w in mutter_windows)
155 {154 {
156 bool keep = false;155 if (!(actor is Mutter.Window) ||
157 ulong xid = (ulong) Mutter.MetaWindow.get_xwindow (w.get_meta_window ());156 ((actor as Mutter.Window).get_window_type () != Mutter.MetaCompWindowType.NORMAL &&
158 foreach (Wnck.Window window in windows)157 (actor as Mutter.Window).get_window_type () != Mutter.MetaCompWindowType.DIALOG &&
159 {158 (actor as Mutter.Window).get_window_type () != Mutter.MetaCompWindowType.MODAL_DIALOG))
160 if (window.get_xid () == xid)159 continue;
161 {160
162 keep = true;161 ExposeClone clone = new ExposeClone (actor);
163 break;162 clone.set_position (actor.x, actor.y);
164 }163 clone.set_size (actor.width, actor.height);
165 }164 exposed_windows.append (clone);
166165 clone.reactive = true;
167 if (keep)166
168 {167 expose_group.add_actor (clone);
169 ExposeClone clone = new ExposeClone (w);168
170 clone.set_position (w.x, w.y);169 clone.hovered_opacity = hovered_opacity;
171 clone.set_size (w.width, w.height);170 clone.unhovered_opacity = unhovered_opacity;
172 exposed_windows.append (clone);171 clone.opacity = unhovered_opacity;
173 clone.reactive = true;172 clone.darken = darken;
174173
175 expose_group.add_actor (clone);174 clone.enter_event.connect (() => {
176
177 clone.hovered_opacity = hovered_opacity;
178 clone.unhovered_opacity = unhovered_opacity;
179 clone.opacity = unhovered_opacity;
180 clone.darken = darken;
181
182 clone.enter_event.connect (() => {
183 var ql_controller = Launcher.QuicklistController.get_default ();175 var ql_controller = Launcher.QuicklistController.get_default ();
184 if (ql_controller.menu_is_open () && this.menu_in_hover_close_state)176 if (ql_controller.menu_is_open () && this.menu_in_hover_close_state)
185 {177 {
@@ -188,7 +180,7 @@
188 return false;180 return false;
189 });181 });
190182
191 clone.leave_event.connect (() => {183 clone.leave_event.connect (() => {
192 var ql_controller = Launcher.QuicklistController.get_default ();184 var ql_controller = Launcher.QuicklistController.get_default ();
193 if (ql_controller.menu_is_open () && this.menu_in_hover_close_state)185 if (ql_controller.menu_is_open () && this.menu_in_hover_close_state)
194 {186 {
@@ -196,8 +188,11 @@
196 }188 }
197 return false;189 return false;
198 });190 });
199 }191 }
200192
193 unowned GLib.List<Mutter.Window> mutter_windows = owner.plugin.get_windows ();
194 foreach (Mutter.Window w in mutter_windows)
195 {
201 if (w.get_window_type () == Mutter.MetaCompWindowType.DESKTOP)196 if (w.get_window_type () == Mutter.MetaCompWindowType.DESKTOP)
202 continue;197 continue;
203198
204199
=== modified file 'targets/mutter/plugin.vala'
--- targets/mutter/plugin.vala 2010-06-08 13:50:40 +0000
+++ targets/mutter/plugin.vala 2010-06-10 00:36:28 +0000
@@ -238,12 +238,6 @@
238 this.background.lower_bottom ();238 this.background.lower_bottom ();
239 this.background.show ();239 this.background.show ();
240240
241 /* Allows us to activate windows, essential as we are the WM */
242/*
243 LibLauncher.Application.set_window_activate_func (this.on_window_activated,
244 this.plugin);
245*/
246
247 this.launcher = new Launcher.Launcher (this);241 this.launcher = new Launcher.Launcher (this);
248 this.launcher.get_view ().opacity = 0;242 this.launcher.get_view ().opacity = 0;
249243
@@ -297,100 +291,9 @@
297 }291 }
298292
299 this.ensure_input_region ();293 this.ensure_input_region ();
300
301 Wnck.Screen.get_default ().active_window_changed.connect (on_active_window_changed);
302
303 if (Wnck.Screen.get_default ().get_active_window () != null)
304 Wnck.Screen.get_default ().get_active_window ().state_changed.connect (on_active_window_state_changed);
305
306 return false;294 return false;
307 }295 }
308296
309 private static void on_window_activated (Wnck.Window window,
310 uint32 timestamp,
311 void *data)
312 {
313 Mutter.Plugin plugin = data as Mutter.Plugin;
314
315 unowned GLib.List<Mutter.Window> mutter_windows = plugin.get_windows ();
316 foreach (Mutter.Window w in mutter_windows)
317 {
318 ulong xid = (ulong) Mutter.MetaWindow.get_xwindow (w.get_meta_window ());
319 if (window.get_xid () == xid)
320 {
321 unowned Mutter.MetaWindow win = w.get_meta_window ();
322
323 Mutter.MetaWorkspace.activate (Mutter.MetaWindow.get_workspace(win),
324 timestamp);
325 Mutter.MetaWindow.activate (win, timestamp);
326 break;
327 }
328 }
329 }
330
331 private void on_active_window_state_changed (Wnck.WindowState change_mask, Wnck.WindowState new_state)
332 {
333 check_fullscreen_obstruction ();
334 }
335
336 private void on_active_window_changed (Wnck.Window? previous_window)
337 {
338 if (previous_window != null)
339 previous_window.state_changed.disconnect (on_active_window_state_changed);
340
341
342 Wnck.Window current = Wnck.Screen.get_default ().get_active_window ();
343 if (current == null)
344 return;
345
346 current.state_changed.connect (on_active_window_state_changed);
347
348 check_fullscreen_obstruction ();
349 }
350
351/*
352 private void on_launcher_changed_event (LauncherView? last, LauncherView? current)
353 {
354 if (last != null)
355 {
356 last.menu_opened.disconnect (on_launcher_menu_opened);
357 last.menu_closed.disconnect (on_launcher_menu_closed);
358 }
359
360 if (current != null)
361 {
362 current.menu_opened.connect (on_launcher_menu_opened);
363 current.menu_closed.connect (on_launcher_menu_closed);
364 }
365
366 check_fullscreen_obstruction ();
367 }
368*/
369/*
370
371 private void on_launcher_menu_opened (LauncherView sender)
372 {
373 if (sender != quicklauncher.manager.active_launcher || sender == null)
374 return;
375
376 if (sender.model is ApplicationModel && sender.model.is_active)
377 {
378 if (QuicklistController.get_default ().menu_is_open ())
379 expose_windows ((sender.model as ApplicationModel).windows);
380 }
381 }
382*/
383/*
384
385 private void on_launcher_menu_closed (LauncherView sender)
386 {
387 if (sender != quicklauncher.manager.active_launcher)
388 return;
389
390 dexpose_windows ();
391 }
392*/
393
394 private void got_screensaver_changed (dynamic DBus.Object screensaver, bool changed)297 private void got_screensaver_changed (dynamic DBus.Object screensaver, bool changed)
395 {298 {
396 if (changed)299 if (changed)
@@ -410,51 +313,23 @@
410 }313 }
411 }314 }
412315
413 bool window_is_obstructing (Wnck.Window window)
414 {
415 if (window.is_fullscreen ())
416 return true;
417
418 /* Sometimes we're not getting the fullscreen hint updating fast enough
419 * but the geometry seems to mostly be in sync. Seeing if the window is
420 * size-wise fullscreen seems to give us a good fallback when the props
421 * aren't in-sync.
422 * The -2.0 is because we have some variation when converting float to int
423 * from the stage.
424 */
425 int x, y, w, h;
426 window.get_geometry (out x, out y, out w, out h);
427
428 if (w >= (int)this.stage.width - 2.0
429 && h >= (int)this.stage.height - 2.0)
430 return true;
431
432 /* Finally try figuring out if the window is fullscreen in Mutter
433 * itself */
434 unowned GLib.List<Mutter.Window> mutter_windows = plugin.get_windows ();
435 foreach (Mutter.Window win in mutter_windows)
436 {
437 ulong xid = (ulong) Mutter.MetaWindow.get_xwindow (win.get_meta_window ());
438 if (xid == window.get_xid ())
439 {
440 if (win.width >= ((int)this.stage.width - 2.0) &&
441 win.height >= ((int)this.stage.height - 2.0))
442 {
443 return true;
444 }
445 }
446 }
447
448 return false;
449 }
450
451 void check_fullscreen_obstruction ()316 void check_fullscreen_obstruction ()
452 {317 {
453 Wnck.Window current = Wnck.Screen.get_default ().get_active_window ();318 Mutter.Window focus = null;
454 if (current == null)319 bool fullscreen = false;
320
321 unowned GLib.List<Mutter.Window> mutter_windows = plugin.get_windows ();
322 foreach (Mutter.Window w in mutter_windows)
323 {
324 if (Mutter.MetaWindow.has_focus (w.get_meta_window ()))
325 focus = w;
326 }
327
328 if (focus == null)
455 return;329 return;
456330
457 if (window_is_obstructing (current))331 (focus.get_meta_window () as GLib.Object).get ("fullscreen", ref fullscreen);
332 if (fullscreen)
458 {333 {
459 this.launcher.get_view ().animate (Clutter.AnimationMode.EASE_IN_SINE, 200, "x", -100f);334 this.launcher.get_view ().animate (Clutter.AnimationMode.EASE_IN_SINE, 200, "x", -100f);
460 this.panel.animate (Clutter.AnimationMode.EASE_IN_SINE, 200, "opacity", 0);335 this.panel.animate (Clutter.AnimationMode.EASE_IN_SINE, 200, "opacity", 0);
@@ -576,24 +451,12 @@
576 return;451 return;
577 }452 }
578453
454 GLib.SList <Clutter.Actor> windows = null;
455
579 unowned GLib.List<Mutter.Window> mutter_windows = this.plugin.get_windows ();456 unowned GLib.List<Mutter.Window> mutter_windows = this.plugin.get_windows ();
580
581 GLib.SList <Wnck.Window> windows = null;
582
583 foreach (Mutter.Window window in mutter_windows)457 foreach (Mutter.Window window in mutter_windows)
584 {458 {
585 int type = window.get_window_type ();459 windows.append (window as Clutter.Actor);
586
587 if (type == Mutter.MetaWindowType.NORMAL ||
588 type == Mutter.MetaWindowType.DIALOG ||
589 type == Mutter.MetaWindowType.MODAL_DIALOG
590 )
591 {
592 ulong xid = (ulong) Mutter.MetaWindow.get_xwindow (window.get_meta_window ());
593 Wnck.Window wnck_window = Wnck.Window.get (xid);
594 if (wnck_window is Wnck.Window)
595 windows.append (wnck_window);
596 }
597 }460 }
598461
599 this.expose_windows (windows, 80);462 this.expose_windows (windows, 80);
@@ -609,58 +472,69 @@
609 for (int i = 0; i < xids.length; i++)472 for (int i = 0; i < xids.length; i++)
610 {473 {
611 uint32 xid = xids.index (i);474 uint32 xid = xids.index (i);
612 Wnck.Window window = Wnck.Window.get (xid);475
613 if (window is Wnck.Window)476 unowned GLib.List<Mutter.Window> mutter_windows = this.plugin.get_windows ();
614 window.close (Clutter.get_current_event_time ());477 foreach (Mutter.Window window in mutter_windows)
478 {
479 uint32 wxid = (uint32) Mutter.MetaWindow.get_xwindow (window.get_meta_window ());
480 if (wxid == xid)
481 {
482 Mutter.MetaWindow.delete (window.get_meta_window (), Clutter.get_current_event_time ());
483 }
484 }
615 }485 }
616 }486 }
617487
618 public void expose_xids (Array<uint32> xids)488 public void expose_xids (Array<uint32> xids)
619 {489 {
620 SList<Wnck.Window> windows = new SList<Wnck.Window> ();490 SList<Clutter.Actor> windows = new SList<Clutter.Actor> ();
621 for (int i = 0; i < xids.length; i++)491 for (int i = 0; i < xids.length; i++)
622 {492 {
623 uint32 xid = xids.index (i);493 uint32 xid = xids.index (i);
624 Wnck.Window window = Wnck.Window.get (xid);494
625 if (window is Wnck.Window)495 unowned GLib.List<Mutter.Window> mutter_windows = plugin.get_windows ();
626 windows.append (window);496 foreach (Mutter.Window w in mutter_windows)
497 {
498 uint32 wxid = (uint32) Mutter.MetaWindow.get_xwindow (w.get_meta_window ());
499 if (wxid == xid)
500 {
501 windows.append (w);
502 break;
503 }
504 }
627 }505 }
628 expose_windows (windows);506
629 }507 expose_windows (windows);
508 }
630509
631 public void stop_expose ()510 public void stop_expose ()
632 {511 {
633 dexpose_windows ();512 dexpose_windows ();
634 }513 }
635514
636 public void show_window (uint32 xid)515 public void show_window (uint32 xid)
637 {516 {
638 Wnck.Window window = Wnck.Window.get (xid);517 unowned GLib.List<Mutter.Window> mutter_windows = this.plugin.get_windows ();
639 if (window is Wnck.Window)518
519 foreach (Mutter.Window mutter_window in mutter_windows)
640 {520 {
641 unowned GLib.List<Mutter.Window> mutter_windows = this.plugin.get_windows ();521 ulong window_xid = (ulong) Mutter.MetaWindow.get_xwindow (mutter_window.get_meta_window ());
642522 if (window_xid != xid)
643 foreach (Mutter.Window mutter_window in mutter_windows)523 continue;
644 {524
645 int type = mutter_window.get_window_type ();525 int type = mutter_window.get_window_type ();
646526
647 if (type == Mutter.MetaWindowType.NORMAL ||527 if (type != Mutter.MetaWindowType.NORMAL &&
648 type == Mutter.MetaWindowType.DIALOG ||528 type != Mutter.MetaWindowType.DIALOG &&
649 type == Mutter.MetaWindowType.MODAL_DIALOG529 type != Mutter.MetaWindowType.MODAL_DIALOG)
650 )530 continue;
651 {531
652 ulong window_xid = (ulong) Mutter.MetaWindow.get_xwindow (mutter_window.get_meta_window ());532 uint32 time_;
653 if (window_xid == xid)533 unowned Mutter.MetaWindow meta = mutter_window.get_meta_window ();
654 {534
655 uint32 time_;535 time_ = Mutter.MetaDisplay.get_current_time (Mutter.MetaWindow.get_display (meta));
656 unowned Mutter.MetaWindow meta = mutter_window.get_meta_window ();536 Mutter.MetaWorkspace.activate (Mutter.MetaWindow.get_workspace (meta), time_);
657537 Mutter.MetaWindow.activate (meta, time_);
658 time_ = Mutter.MetaDisplay.get_current_time (Mutter.MetaWindow.get_display (meta));
659 Mutter.MetaWorkspace.activate (Mutter.MetaWindow.get_workspace (meta), time_);
660 Mutter.MetaWindow.activate (meta, time_);
661 }
662 }
663 }
664 }538 }
665 }539 }
666540
@@ -674,7 +548,7 @@
674 return this.panel.get_indicators_width ();548 return this.panel.get_indicators_width ();
675 }549 }
676550
677 public void expose_windows (GLib.SList<Wnck.Window> windows,551 public void expose_windows (GLib.SList<Clutter.Actor> windows,
678 int left_buffer = 250)552 int left_buffer = 250)
679 {553 {
680 expose_manager.left_buffer = left_buffer;554 expose_manager.left_buffer = left_buffer;
@@ -801,21 +675,6 @@
801 {675 {
802 this.maximus.process_window (window);676 this.maximus.process_window (window);
803 this.window_mapped (this, window);677 this.window_mapped (this, window);
804
805/*
806 int type = window.get_window_type ();
807
808 if (type == Mutter.MetaWindowType.NORMAL ||
809 type == Mutter.MetaWindowType.DIALOG ||
810 type == Mutter.MetaWindowType.MODAL_DIALOG
811 )
812 {
813 ulong xid = (ulong) Mutter.MetaWindow.get_xwindow (window.get_meta_window ());
814 Wnck.Window wnck_window = Wnck.Window.get (xid);
815 if (wnck_window is Wnck.Window)
816 Launcher.Session.get_default ().update_windows (wnck_window);
817 }
818*/
819 }678 }
820679
821 public void destroy (Mutter.Window window)680 public void destroy (Mutter.Window window)
822681
=== modified file 'targets/mutter/window-management.vala'
--- targets/mutter/window-management.vala 2010-03-16 20:37:10 +0000
+++ targets/mutter/window-management.vala 2010-06-10 00:36:28 +0000
@@ -295,20 +295,16 @@
295295
296 int speed = get_animation_speed (window);296 int speed = get_animation_speed (window);
297297
298 ulong xid = (ulong) Mutter.MetaWindow.get_xwindow (window.get_meta_window ());
299 Wnck.Window wnck_window = Wnck.Window.get (xid);
300
301 Mutter.MetaRectangle rect = {0, 0, 0, 0};298 Mutter.MetaRectangle rect = {0, 0, 0, 0};
302 if (wnck_window is Wnck.Window &&299 if (Mutter.MetaWindow.get_icon_geometry (window.get_meta_window (), rect))
303 Mutter.MetaWindow.get_icon_geometry (window.get_meta_window (), rect))
304 {300 {
305 int x, y, w, h;301 rect = {0, 0, 0, 0};
306 wnck_window.get_geometry (out x, out y, out w, out h);302 Mutter.MetaWindow.get_outer_rect (window.get_meta_window (), rect);
307 actor.set ("scale-gravity", Clutter.Gravity.CENTER);303 actor.set ("scale-gravity", Clutter.Gravity.CENTER);
308 anim = actor.animate (Clutter.AnimationMode.EASE_IN_SINE, speed,304 anim = actor.animate (Clutter.AnimationMode.EASE_IN_SINE, speed,
309 "opacity", 255,305 "opacity", 255,
310 "x", (float) x,306 "x", (float) rect.x,
311 "y", (float) y,307 "y", (float) rect.y,
312 "scale-x", 1f,308 "scale-x", 1f,
313 "scale-y", 1f);309 "scale-y", 1f);
314 }310 }
315311
=== modified file 'targets/unity/Makefile.am'
--- targets/unity/Makefile.am 2010-06-04 16:13:17 +0000
+++ targets/unity/Makefile.am 2010-06-10 00:36:28 +0000
@@ -44,7 +44,6 @@
44 --pkg x11 \44 --pkg x11 \
45 --pkg gtk+-2.0 \45 --pkg gtk+-2.0 \
46 --pkg gee-1.0 \46 --pkg gee-1.0 \
47 --pkg libwnck-1.0 \
48 --pkg unique-1.0 \47 --pkg unique-1.0 \
49 --pkg unity \48 --pkg unity \
50 --pkg unity-const \49 --pkg unity-const \
5150
=== modified file 'targets/unity/main.vala'
--- targets/unity/main.vala 2010-04-07 15:39:23 +0000
+++ targets/unity/main.vala 2010-06-10 00:36:28 +0000
@@ -191,7 +191,6 @@
191 });191 });
192 }192 }
193193
194 Wnck.set_client_type (Wnck.ClientType.PAGER);
195 Gtk.main ();194 Gtk.main ();
196195
197 /* Restore envvar */196 /* Restore envvar */
198197
=== modified file 'tests/ui/Makefile.am'
--- tests/ui/Makefile.am 2010-06-09 03:02:57 +0000
+++ tests/ui/Makefile.am 2010-06-10 00:36:28 +0000
@@ -38,7 +38,6 @@
38 --pkg indicator \38 --pkg indicator \
39 --pkg clutk-0.3 \39 --pkg clutk-0.3 \
40 --pkg launcher-0.3 \40 --pkg launcher-0.3 \
41 --pkg libwnck-1.0 \
42 --pkg test-const \41 --pkg test-const \
43 --pkg unique-1.0 \42 --pkg unique-1.0 \
44 --pkg unity \43 --pkg unity \
4544
=== modified file 'tests/unit/Makefile.am'
--- tests/unit/Makefile.am 2010-06-04 17:03:39 +0000
+++ tests/unit/Makefile.am 2010-06-10 00:36:28 +0000
@@ -39,7 +39,6 @@
39 --pkg indicator \39 --pkg indicator \
40 --pkg clutk-0.3 \40 --pkg clutk-0.3 \
41 --pkg launcher-0.3 \41 --pkg launcher-0.3 \
42 --pkg libwnck-1.0 \
43 --pkg test-const \42 --pkg test-const \
44 --pkg unique-1.0 \43 --pkg unique-1.0 \
45 --pkg unity \44 --pkg unity \
4645
=== modified file 'unity-private/testing/test-window.vala'
--- unity-private/testing/test-window.vala 2010-06-02 22:38:51 +0000
+++ unity-private/testing/test-window.vala 2010-06-10 00:36:28 +0000
@@ -237,7 +237,7 @@
237 /*237 /*
238 * UNDERLAY WINDOW MANAGEMENT238 * UNDERLAY WINDOW MANAGEMENT
239 */239 */
240 public void on_active_window_changed (Wnck.Window? previous_window)240 private void on_active_window_changed (Wnck.Window? previous_window)
241 {241 {
242 Wnck.Window new_window = this.wnck_screen.get_active_window ();242 Wnck.Window new_window = this.wnck_screen.get_active_window ();
243 if (new_window == null)243 if (new_window == null)
244244
=== modified file 'unity/Makefile.am'
--- unity/Makefile.am 2010-06-03 10:22:01 +0000
+++ unity/Makefile.am 2010-06-10 00:36:28 +0000
@@ -49,7 +49,6 @@
49 --pkg gtk+-2.0 \49 --pkg gtk+-2.0 \
50 --pkg gee-1.0 \50 --pkg gee-1.0 \
51 --pkg Bamf-0.2 \51 --pkg Bamf-0.2 \
52 --pkg libwnck-1.0 \
53 --pkg unique-1.0 \52 --pkg unique-1.0 \
54 --pkg unity-const \53 --pkg unity-const \
55 $(MAINTAINER_VALAFLAGS)54 $(MAINTAINER_VALAFLAGS)