aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/text_page_utils.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-03-21 02:29:09 +0000
committerBill Meier <wmeier@newsguy.com>2013-03-21 02:29:09 +0000
commit8112ecc321d5d2025e7b780db21f88a31d0ee472 (patch)
tree885dc3989020530f2fcf4b82ec39284d36d43bd4 /ui/gtk/text_page_utils.c
parentda1bdffa1bbd6a9574afe2e834e1ac501653f3a4 (diff)
From beroset:
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachment #10404 Note: The following parts of the patch had been previously done: asn1/snmp/packet-snmp-template.c epan/dissectors/packet-snmp.c epan/dissectors/packet-x11.c Also; hostlist_table.c: code under '#ifdef HAVE_GEOIP' didn't compile and needed a few additional patches. svn path=/trunk/; revision=48447
Diffstat (limited to 'ui/gtk/text_page_utils.c')
-rw-r--r--ui/gtk/text_page_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/text_page_utils.c b/ui/gtk/text_page_utils.c
index 4959c0acc9..79ed47b8a8 100644
--- a/ui/gtk/text_page_utils.c
+++ b/ui/gtk/text_page_utils.c
@@ -90,7 +90,7 @@ GtkWidget * text_page_new(const char *absolute_path)
*/
static void text_page_insert(GtkWidget *page, const char *buffer, int nchars)
{
- GtkWidget *txt = g_object_get_data(G_OBJECT(page), TEXT_KEY);
+ GtkWidget *txt = (GtkWidget *)g_object_get_data(G_OBJECT(page), TEXT_KEY);
GtkTextBuffer *buf= gtk_text_view_get_buffer(GTK_TEXT_VIEW(txt));
GtkTextIter iter;