diff src/gtkutils.c @ 6465:fb64cc87bc96

[gaim-migrate @ 6974] open_url() is gone forever! WOOHOO! Now we have gaim_notify_uri(). Oh, and whitespace changes in some files, because they just really bugged me. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 14 Aug 2003 03:55:13 +0000
parents 5211873190ea
children 70d5122bc3ff
line wrap: on
line diff
--- a/src/gtkutils.c	Thu Aug 14 03:28:17 2003 +0000
+++ b/src/gtkutils.c	Thu Aug 14 03:55:13 2003 +0000
@@ -51,6 +51,12 @@
 #include "wspell.h"
 #endif
 
+static void
+url_clicked_cb(GtkWidget *w, const char *uri)
+{
+	gaim_notify_uri(NULL, uri);
+}
+
 void
 gaim_setup_imhtml(GtkWidget *imhtml)
 {
@@ -61,7 +67,7 @@
 		gtk_imhtml_show_smileys(GTK_IMHTML(imhtml), FALSE);
 
 	g_signal_connect(G_OBJECT(imhtml), "url_clicked",
-					 G_CALLBACK(open_url), NULL);
+					 G_CALLBACK(url_clicked_cb), NULL);
 
 	smiley_themeize(imhtml);
 }