aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2007-02-13 20:57:22 +0000
committerStephen Fisher <steve@stephen-fisher.com>2007-02-13 20:57:22 +0000
commit0ebc01dc03e38726e3d6fdffb30171eda3f8f80e (patch)
tree9b8f6907fd7e6bd7e99afd8632d22b61eed1452c /gtk
parent1ebd7feda946b60b3a1c9841d282bfb7bd6b3b86 (diff)
From Sebastien Tandel:
Create two new files (ws_strsplit.[ch]) that use GTK2 code to override the buggy g_strsplit() function when compiling for GTK1. Include this work-around function (ws_strsplit) in libwireshark.def. Add notes on usage to README.developer. Include epan/ws_strsplit.h in all files that use g_strsplit(). svn path=/trunk/; revision=20804
Diffstat (limited to 'gtk')
-rw-r--r--gtk/font_utils.c1
-rw-r--r--gtk/voip_calls.c1
-rw-r--r--gtk/webbrowser.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/gtk/font_utils.c b/gtk/font_utils.c
index fb5da32635..11875fc09f 100644
--- a/gtk/font_utils.c
+++ b/gtk/font_utils.c
@@ -32,6 +32,7 @@
#include <stdio.h>
#include <epan/packet.h>
+#include <epan/ws_strsplit.h>
#ifdef _WIN32
#include <windows.h>
diff --git a/gtk/voip_calls.c b/gtk/voip_calls.c
index daadca553c..18a763bd30 100644
--- a/gtk/voip_calls.c
+++ b/gtk/voip_calls.c
@@ -61,6 +61,7 @@
#include <epan/dissectors/packet-t38.h>
#include <epan/conversation.h>
#include <epan/rtp_pt.h>
+#include <epan/ws_strsplit.h>
#include "alert_box.h"
#include "simple_dialog.h"
diff --git a/gtk/webbrowser.c b/gtk/webbrowser.c
index 4520704f67..ff069c98da 100644
--- a/gtk/webbrowser.c
+++ b/gtk/webbrowser.c
@@ -35,6 +35,7 @@
#include <gtk/gtk.h>
#include <epan/filesystem.h>
+#include <epan/ws_strsplit.h>
#include <epan/prefs.h>
#include "webbrowser.h"