diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2009-04-02 06:58:10 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-04-02 06:58:10 +0800 |
commit | 3a6dd7931ed7787b49a574ebe69eba5f46289fff (patch) | |
tree | f8bdde77fe6bf3fe9d8f4e68fbdb46df6a7abf56 /e-util | |
parent | 0485fb58c5beeb04f0b3d833e6b73a2d2ec1acc7 (diff) | |
download | gsoc2013-evolution-3a6dd7931ed7787b49a574ebe69eba5f46289fff.tar.gz gsoc2013-evolution-3a6dd7931ed7787b49a574ebe69eba5f46289fff.tar.zst gsoc2013-evolution-3a6dd7931ed7787b49a574ebe69eba5f46289fff.zip |
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
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-util.c | 27 | ||||
-rw-r--r-- | e-util/e-util.h | 2 |
2 files changed, 0 insertions, 29 deletions
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 @@ -186,33 +186,6 @@ exit: } /** - * 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 * @action_name: the name of an action diff --git a/e-util/e-util.h b/e-util/e-util.h index 168b497da7..84ec411516 100644 --- a/e-util/e-util.h +++ b/e-util/e-util.h @@ -47,8 +47,6 @@ void e_show_uri (GtkWindow *parent, const gchar *uri); void e_display_help (GtkWindow *parent, const gchar *link_id); -gint e_file_open_tmp (gchar **name_used, - GError **error); GtkAction * e_lookup_action (GtkUIManager *ui_manager, const gchar *action_name); GtkActionGroup *e_lookup_action_group (GtkUIManager *ui_manager, |