summaryrefslogtreecommitdiff
path: root/gtk/main.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-06-23 01:38:39 +0000
committerGuy Harris <guy@alum.mit.edu>2004-06-23 01:38:39 +0000
commitaacb8bc9b64f0ee93a865445f39429bfb90475e8 (patch)
tree41a3cbc1a0804036bf87b13d832dce33a54ae543 /gtk/main.h
parentfe40fa191e2e2b9e6c4dff2ac52bf5db541a9c46 (diff)
downloadwireshark-aacb8bc9b64f0ee93a865445f39429bfb90475e8.tar.gz
Add "gtk/webbrowser.h" to declare functions from "gtk/webbrowser.c".
Rename "browser_open_program_file()" to "browser_open_data_file()", and make it open files relative to the application's data directory, as that's where data files such as HTMLized man pages would be put. (That happens to be the program directory on Windows, but it's a different directory on UN*X - and you aren't guaranteed to be able to find the program directory on UN*X by looking at argv[0] in any case.) Move it to "gtk/webbrowser.c". Fix "filename2url()" to put "file://", not just "file:", in front of pathnames on UN*X. svn path=/trunk/; revision=11216
Diffstat (limited to 'gtk/main.h')
-rw-r--r--gtk/main.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/main.h b/gtk/main.h
index 1940fd7eea..205a5fcd8d 100644
--- a/gtk/main.h
+++ b/gtk/main.h
@@ -1,7 +1,7 @@
/* main.h
* Global defines, etc.
*
- * $Id: main.h,v 1.55 2004/06/21 20:12:45 tuexen Exp $
+ * $Id: main.h,v 1.56 2004/06/23 01:38:39 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -250,6 +250,4 @@ extern void packets_bar_update(void);
extern void create_console(void);
#endif
-extern gboolean browser_open_url (const gchar *url);
-
#endif /* __MAIN_H__ */