[cheese] Do not use XID argument with nautilus-sendto



commit 441c497ff13710c9e3c3f53c380b57bb9a54a60c
Author: David King <amigadave amigadave com>
Date:   Mon Feb 20 20:14:00 2012 +0000

    Do not use XID argument with nautilus-sendto
    
    Until there is a stable release which supports the --xid argument, do
    not pass it to nautilus-sendto.

 src/cheese-shareable-media.vala |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/cheese-shareable-media.vala b/src/cheese-shareable-media.vala
index d75d0eb..7960221 100644
--- a/src/cheese-shareable-media.vala
+++ b/src/cheese-shareable-media.vala
@@ -22,7 +22,6 @@
  * nautilus-sendto.
  */
 public class Cheese.ShareableMedia : GLib.Object {
-    private const string XID = "--xid=";
     private uint num_children = 0;
     Cheese.MainWindow window;
 
@@ -88,8 +87,6 @@ public class Cheese.ShareableMedia : GLib.Object {
         string[] argv = {};
         // Defined in cheese-window.vala.
         argv += SENDTO_EXEC;
-        argv += XID + "%lu".printf (
-            Gdk.X11Window.get_xid (window.get_window ()));
 
         files.foreach ((file) => argv += file.get_path ());
 



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