aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/main.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-08-10 19:49:45 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-08-10 19:49:45 +0000
commitd28861b607328bbbb06c3032908ab7d62b467dea (patch)
tree36baba4cd69a9a59a0e887363013f51d2e4d9008 /gtk/main.c
parent4889bace3d2560c6e1713d723711911f3a6fd84a (diff)
removed tons of MSVC const related warnings.
This might at some places interfere with the changes for gcc4, we might have to negotiate in that case :-) Please note that a lot of these warnings were GTK1.x related only! svn path=/trunk/; revision=15286
Diffstat (limited to 'gtk/main.c')
-rw-r--r--gtk/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/main.c b/gtk/main.c
index 0759d62be0..ec93f57d0f 100644
--- a/gtk/main.c
+++ b/gtk/main.c
@@ -343,7 +343,7 @@ selected_ptree_info_cb(GtkWidget *widget _U_, gpointer data _U_)
"Hint 2: If you want to add a new protocol page, you should use the ProtocolTemplate,\n"
"which will save you a lot of editing and will give a consistent look over the pages.",
proto_abbrev, proto_abbrev);
- simple_dialog_set_cb(dialog, selected_ptree_info_answered_cb, proto_abbrev);
+ simple_dialog_set_cb(dialog, selected_ptree_info_answered_cb, (gpointer) proto_abbrev);
}
}