[cheese/wip/deprecation-fixes: 3/7] Avoid Vala compiler warning about implicit begin



commit c09c9879318b56eea4ef4863197be9ddf6ec8d76
Author: David King <amigadave amigadave com>
Date:   Fri Apr 19 18:04:03 2013 +0100

    Avoid Vala compiler warning about implicit begin

 src/cheese-window.vala | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index 8fde0e8..3ef1099 100644
--- a/src/cheese-window.vala
+++ b/src/cheese-window.vala
@@ -371,10 +371,10 @@ public class Cheese.MainWindow : Gtk.ApplicationWindow
     bool nautilus_sendto_installed = Environment.find_program_in_path (SENDTO_EXEC) != null;
 
     if (!nautilus_sendto_installed)
-      install_packages ((obj, res) => {
-                        install_packages.end (res);
-                        get_window ().set_cursor (new Gdk.Cursor (Gdk.CursorType.LEFT_PTR));
-                       });
+      install_packages.begin ((obj, res) => {
+                              install_packages.end (res);
+                              get_window ().set_cursor (new Gdk.Cursor (Gdk.CursorType.LEFT_PTR));
+                             });
     else
       shareable_media.share_files (thumb_view.get_selected_images_list ());
   }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]