summaryrefslogtreecommitdiff
path: root/chat/gtkyahoo/patches/patch-ac
blob: 22268f15650841c69c15ee0676b3d1fe9d4b93b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ac,v 1.1 2002/03/31 14:13:46 dmcmahill Exp $
LP64 fixes

--- gtkyahoo.c.orig	Fri Aug 17 05:41:11 2001
+++ gtkyahoo.c
@@ -201,11 +201,11 @@
 	return (1);
 }
 
-void launch_browser_cb(GtkWidget * w, gpointer data)
-{
-	char *url = (char *) data;
 
-	launch_browser(url);
+void launch_browser_cb(gpointer data, guint action, GtkWidget *widget)
+{
+	extern char *preset_urls[];
+	launch_browser(preset_urls[action]);
 }
 
 static int id_is_sys_id (const char *id)