diff src/server.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 ccfdf9f2cdd1
children 338147ea6896
line wrap: on
line diff
--- a/src/server.c	Thu Aug 14 03:28:17 2003 +0000
+++ b/src/server.c	Thu Aug 14 03:55:13 2003 +0000
@@ -1431,6 +1431,12 @@
 	gtk_widget_destroy(window);
 }
 
+static void
+url_clicked_cb(GtkWidget *w, const char *uri)
+{
+	gaim_notify_uri(NULL, uri);
+}
+
 void serv_got_popup(const char *msg, const char *u, int wid, int hei)
 {
 	GtkWidget *window;
@@ -1474,7 +1480,7 @@
 	button = gaim_pixbuf_button_from_stock(_("More Info"), GTK_STOCK_FIND, GAIM_BUTTON_HORIZONTAL);
 	gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 5);
 	g_signal_connect(G_OBJECT(button), "clicked",
-					 G_CALLBACK(open_url), url);
+					 G_CALLBACK(url_clicked_cb), url);
 
 	gtk_widget_show_all(window);