changeset 5998:b77c0feec150

[gaim-migrate @ 6446] open_url() now takes a const char * for the URL. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 03 Jul 2003 03:06:18 +0000
parents 6515a1ce878c
children 44b7e2530c05
files src/browser.c src/ui.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/browser.c	Thu Jul 03 02:23:42 2003 +0000
+++ b/src/browser.c	Thu Jul 03 03:06:18 2003 +0000
@@ -513,7 +513,7 @@
 	return TRUE;
 }
 
-void open_url(GtkWidget *w, char *url)
+void open_url(GtkWidget *w, const char *url)
 {
 	char *command = NULL;
 	GError *error = NULL;
--- a/src/ui.h	Thu Jul 03 02:23:42 2003 +0000
+++ b/src/ui.h	Thu Jul 03 03:06:18 2003 +0000
@@ -187,7 +187,7 @@
 extern void do_im_back(GtkWidget *w, GtkWidget *x);
 
 /* Functions in browser.c */
-extern void open_url(GtkWidget *, char *);
+extern void open_url(GtkWidget *, const char *);
 extern void add_bookmark(GtkWidget *, char *);
 
 /* Functions in dialogs.c */