Bill Meier
0e7d674d23
Fix for SVN #26535 so that building Wireshark with VC6 doesn't fail.
...
svn path=/trunk/; revision=26545
2008-10-24 22:13:09 +00:00
Bill Meier
8afa208ffb
Windows build: #include winsock2.h only when needed.
...
#include winsock2.h pulls in about 90 distinct .h files
and about 140 total .h files.
Currently winsock2.h is (mostly unnecessarily) included
for each dissector via packet.h/wtap.h.
This patch removes #include winsock2.h from wtap.h and
then includes winsock2.h (or windows.h) in the
few specific places required.
With this patch, my Windows Wireshark build takes
about 30% less time.
svn path=/trunk/; revision=26535
2008-10-24 00:42:09 +00:00
Bill Meier
56206e0002
Fix some simple cases of GTK2 deprecated API usage by using a renamed or equivalent API
...
gtk_container_border_width() ==> gtk_container_set_border_width()
gtk_container_children() ==> gtk_container_get_children()
gtk_entry_new_with_max_length() ==> gtk_entry_new(); gtk_entry_set_max_length()
gtk_menu_append() ==> gtk_menu_shell_append()
gtk_menu_prepend() ==> gtk_menu_shell_prepend()
gtk_notebook_set_page() ==> gtk_notebook_set_current_page()
gtk_paned_gutter_size() ==> gtk_paned_set_gutter_size()
gtk_radio_button_group() ==> gtk_radio_button_get_group()
gtk_signal_connect() ==> g_signal_connect()
gtk_signal_disconnect() ==> g_signal_handler_disconnect()
gtk_signal_emit_by_name() ==> g_signal_emit_by_name()
gtk_signal_handler_block_by_data() ==> g_signal_handlers_block_matched()
gtk_signal_handler_block_by_func() ==> g_signal_handlers_block_by_func()
gtk_signal_handler_unblock_by_data() ==> g_signal-handlers_unblock_matched()
gtk_signal_handler_unblock_by_func() ==> g_signal-handlers_unblock_by_func()
gtk_spin_button_get_value_as_float() ==> gtk_spin_button_get_value()
gtk_toggle_button_set_state() ==> gtk_toggle_button_set_active()
svn path=/trunk/; revision=25634
2008-06-29 15:51:43 +00:00
Stig Bjørlykke
45e0a74c15
And use correct help topic...
...
svn path=/trunk/; revision=25507
2008-06-21 14:06:08 +00:00
Stig Bjørlykke
7c29c08046
Added help topic item previous reused for another topic.
...
Todo: add documentation text.
svn path=/trunk/; revision=25506
2008-06-21 13:59:52 +00:00
Stig Bjørlykke
860028c634
Removed the usage of topic_available() as we now have all topics.
...
svn path=/trunk/; revision=25505
2008-06-21 13:36:31 +00:00
Bill Meier
fe5c2d9820
g_string_sprintf --> g_string_printf and g_string_sprintfa --> g_string_append_printf
...
svn path=/trunk/; revision=25276
2008-05-11 18:33:49 +00:00
Jaap Keuter
2b04d42e4b
From Shinsuke SUZUKI:
...
Since this leads to a compilation failure (Warning C4819: unexpected character
in the current code page) on non-european Windows, I'd like you to avoid using
non-ASCII characters in Wireshark code (even in comment).
svn path=/trunk/; revision=25214
2008-05-02 08:23:21 +00:00
Ulf Lamping
6a5b1e0ec0
use the ending "_win32" for every windows specific file
...
svn path=/trunk/; revision=24972
2008-04-13 12:14:57 +00:00