aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 48b006bb67..7b55072653 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -56,8 +56,6 @@
#include <gconf/gconf.h>
#include <gconf/gconf-client.h>
-#include <libgnome/gnome-url.h>
-
#include <glade/glade.h>
#include "e-util/e-dialog-utils.h"
@@ -2552,8 +2550,6 @@ static void
msg_composer_link_clicked (GtkhtmlEditor *editor,
const gchar *uri)
{
- GError *error = NULL;
-
if (uri == NULL || *uri == '\0')
return;
@@ -2566,12 +2562,7 @@ msg_composer_link_clicked (GtkhtmlEditor *editor,
if (g_ascii_strncasecmp (uri, "cid:", 4) == 0)
return;
- gnome_url_show (uri, &error);
-
- if (error) {
- g_warning ("%s", error->message);
- g_error_free (error);
- }
+ e_show_uri (GTK_WINDOW (editor), uri);
}
static void