[totem] browser-plugin: Remove obsolete in-tree running



commit 69113fc17468e0e0f7cb80ec8ff93acd2a1e83df
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Dec 4 11:08:01 2011 +0100

    browser-plugin: Remove obsolete in-tree running
    
    We don't need that anymore.

 browser-plugin/totemPlugin.cpp |   15 ++-------------
 1 files changed, 2 insertions(+), 13 deletions(-)
---
diff --git a/browser-plugin/totemPlugin.cpp b/browser-plugin/totemPlugin.cpp
index dca573e..f2c6adf 100644
--- a/browser-plugin/totemPlugin.cpp
+++ b/browser-plugin/totemPlugin.cpp
@@ -498,21 +498,10 @@ totemPlugin::ViewerFork ()
 	}
 
         GPtrArray *arr = g_ptr_array_new ();
-	/* FIXME! no need to strdup, all args are const! */
 
-	/* FIXME what use is this anyway? */
-#ifdef TOTEM_RUN_IN_SOURCE_TREE
-	if (g_file_test ("./totem-plugin-viewer",
-			 G_FILE_TEST_EXISTS) != FALSE) {
-			 g_ptr_array_add (arr, g_strdup ("./totem-plugin-viewer"));
-	} else {
-		g_ptr_array_add (arr,
-				 g_build_filename (LIBEXECDIR, "totem-plugin-viewer", NULL));
-	}
-#else
+	/* And start the viewer */
 	g_ptr_array_add (arr,
 			 g_build_filename (LIBEXECDIR, "totem-plugin-viewer", NULL));
-#endif
 
 	/* So we can debug X errors in the viewer */
 	const char *sync = g_getenv ("TOTEM_EMBEDDED_DEBUG_SYNC");



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