From 3a6dd7931ed7787b49a574ebe69eba5f46289fff Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 1 Apr 2009 22:58:10 +0000 Subject: Finish attachment drag and drop. Expunge em-popup.c of dead code. Not much left. Kill the save-attachments (experimental) plugin. The attachment bar can already save all at once. svn path=/branches/kill-bonobo/; revision=37488 --- e-util/e-util.c | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'e-util/e-util.c') diff --git a/e-util/e-util.c b/e-util/e-util.c index 02c76c3d32..071f5e58b8 100644 --- a/e-util/e-util.c +++ b/e-util/e-util.c @@ -185,33 +185,6 @@ exit: g_string_free (uri, TRUE); } -/** - * e_file_open_tmp: - * @name_used: location to store the actual named used, or %NULL - * @error: return location for a #GError, or %NULL - * - * Convenience function wraps g_file_open_tmp() but chooses a suitable - * filename template using both the package name and the user name. - * - * Returns: A file handle (as from open()) to the file opened for reading - * and writing. The file is opened in binary mode on platforms - * where there is a difference. The file handle should be closed - * with close(). In case of errors, -1 is returned and @error - * will be set. - **/ -gint -e_file_open_tmp (gchar **name_used, - GError **error) -{ - static gchar *template = NULL; - - if (G_UNLIKELY (template == NULL)) - template = g_strdup_printf ( - PACKAGE "-%s-XXXXXX", g_get_user_name ()); - - return g_file_open_tmp (template, name_used, error); -} - /** * e_lookup_action: * @ui_manager: a #GtkUIManager -- cgit v1.2.3