empathy r1640 - trunk/src



Author: xclaesse
Date: Fri Oct 17 12:48:21 2008
New Revision: 1640
URL: http://svn.gnome.org/viewvc/empathy?rev=1640&view=rev

Log:
Remove declaration of functions on top of import dialog file.

Modified:
   trunk/src/empathy-import-dialog.c

Modified: trunk/src/empathy-import-dialog.c
==============================================================================
--- trunk/src/empathy-import-dialog.c	(original)
+++ trunk/src/empathy-import-dialog.c	Fri Oct 17 12:48:21 2008
@@ -123,19 +123,6 @@
   COL_COUNT
 };
 
-
-static void import_dialog_add_setting (GHashTable *settings,
-    gchar *key, gpointer value, EmpathyImportSettingType  type);
-static void import_dialog_add_account (gchar *protocol_name,
-    GHashTable *settings);
-static void import_dialog_pidgin_parse_setting (gchar *protocol,
-    xmlNodePtr setting, GHashTable *settings);
-static void import_dialog_pidgin_import_accounts ();
-static void import_dialog_button_ok_clicked_cb (GtkButton *button,
-    EmpathyImportDialog *dialog);
-static void import_dialog_button_cancel_clicked_cb (GtkButton *button,
-    EmpathyImportDialog *dialog);
-
 static void
 import_dialog_account_data_free (AccountData *data)
 {
@@ -441,26 +428,10 @@
                                     EmpathyImportDialog *dialog)
 {
   GtkTreeModel *model;
-  GtkWidget *message;
-  GtkWindow *window;
 
   model = gtk_tree_view_get_model (GTK_TREE_VIEW (dialog->treeview));
-
   gtk_tree_model_foreach (model, import_dialog_tree_model_foreach, dialog);
-
-  window = gtk_window_get_transient_for (GTK_WINDOW (dialog->window));
-
   import_dialog_free (dialog);
-
-  if (!dialog->not_imported)
-    return;
-
-  message = gtk_message_dialog_new (window,
-      GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_CLOSE,
-      _("One or more accounts failed to import."));
-
-  gtk_dialog_run (GTK_DIALOG (message));
-  gtk_widget_destroy (message);
 }
 
 static void



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