[gnome-user-share] extension: Remove unused function



commit 2dc800a6161699c087f3dacca9edda6d90ae000a
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jan 15 17:35:44 2013 +0100

    extension: Remove unused function

 src/share-extension.c |   27 ---------------------------
 1 files changed, 0 insertions(+), 27 deletions(-)
---
diff --git a/src/share-extension.c b/src/share-extension.c
index 5e1c270..7e81b5a 100644
--- a/src/share-extension.c
+++ b/src/share-extension.c
@@ -53,33 +53,6 @@ static GType nautilus_user_share_get_type      (void);
 static void  nautilus_user_share_register_type (GTypeModule *module);
 
 static void
-launch_process (char **argv, GtkWindow *parent)
-{
-        GError *error;
-        GtkWidget *dialog;
-
-        error = NULL;
-        if (!g_spawn_async (NULL,
-                            argv, NULL,
-                            0,
-                            NULL, NULL,
-                            NULL,
-                            &error)) {
-
-
-                dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING,
-						 GTK_BUTTONS_OK, _("Unable to launch the Personal File Sharing Preferences"));
-
-                gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", error->message);
-
-                gtk_dialog_run (GTK_DIALOG (dialog));
-                gtk_widget_destroy (dialog);
-
-                g_error_free (error);
-        }
-}
-
-static void
 launch_prefs_on_window (void)
 {
 	GDesktopAppInfo *app_info;



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