Stig Bjørlykke
0dbfde8b6d
Removed some unused variables and unused assignments.
...
svn path=/trunk/; revision=30918
2009-11-10 12:05:25 +00:00
Bill Meier
db04e3941f
Add #include <stdio.h>
...
svn path=/trunk/; revision=29581
2009-08-27 05:17:40 +00:00
Gerald Combs
605ef095f9
Fix the last of the Win64 problems in the gtk directory.
...
svn path=/trunk/; revision=28063
2009-04-16 03:18:10 +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
Ulf Lamping
644a474c95
sort #includes by directories
...
svn path=/trunk/; revision=24969
2008-04-13 03:32:24 +00:00
Ulf Lamping
d4ccf577a8
where it's not necessary, remove #include "compat_macros.h"
...
svn path=/trunk/; revision=24922
2008-04-12 01:02:59 +00:00
Ulf Lamping
8e58ec7085
last round to replace SIGNAL_CONNECT with g_signal_connect
...
svn path=/trunk/; revision=24918
2008-04-11 23:16:06 +00:00
Bill Meier
ab9c1b68fd
OBJECT_..._DATA --> g_object_..._data
...
svn path=/trunk/; revision=24899
2008-04-11 17:26:09 +00:00
Ulf Lamping
49ad47d477
remove GTK1 code
...
svn path=/trunk/; revision=24824
2008-04-07 01:05:55 +00:00
Guy Harris
92552c2d76
Get rid of a bunch of "Ethereal"s and "ethereal"s in comments, GUI
...
strings, and function names.
svn path=/trunk/; revision=18205
2006-05-22 07:29:40 +00:00
Ronnie Sahlberg
89f022b12b
name change
...
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Guy Harris
46325167d9
Check for a null blurb pointer for a field, as is done in some other
...
locations, and initialize the blurb field to NULL for protocols, now
that we support the blurb being a null pointer.
svn path=/trunk/; revision=16672
2005-12-04 04:22:43 +00:00
Ulf Lamping
eafbbbcabb
renamed ui_util.c/.h to gui_utils.c/.h to prevent confusion with identical named ui_util.h in / dir
...
svn path=/trunk/; revision=15465
2005-08-20 12:09:48 +00:00
Guy Harris
554f620001
Constify to remove a bunch of warnings. Add some casts to squelch
...
(presumably-)harmless-but-otherwise-unremovable const-to-nonconst
warnings.
In the TACACS dissector, clean up the variables used in option parsing
to avoid some const-to-nonconst warnings.
Clean up some white space.
svn path=/trunk/; revision=15043
2005-07-24 19:01:28 +00:00
Guy Harris
bbe7f89742
Move prefs.c and prefs.h into the epan subdirectory.
...
svn path=/trunk/; revision=12115
2004-09-27 22:55:15 +00:00
Guy Harris
8a8b883450
Set the svn:eol-style property on all text files to "native", so that
...
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on
Windows, not on UN*X.
svn path=/trunk/; revision=11400
2004-07-18 00:24:25 +00:00
Ulf Lamping
25e6749eb4
move font related stuff to new file font_utils.c/.h
...
do some font related renaming/code cleanup
svn path=/trunk/; revision=11166
2004-06-17 16:35:26 +00:00
Ulf Lamping
cc68368037
use new functions in window API (ui_util.h),
...
use window_new instead of dlg_window_new for the statistics windows
(as these are no dialog windows)
do some code cleanup
svn path=/trunk/; revision=10979
2004-05-23 23:24:07 +00:00
Ulf Lamping
92b92f632a
various string related changes, mainly replace sprintf/snprintf by g_snprintf
...
svn path=/trunk/; revision=10371
2004-03-13 12:09:27 +00:00
Guy Harris
dbd422ecc4
Give it an RCS ID.
...
svn path=/trunk/; revision=10144
2004-02-20 22:38:44 +00:00
Ulf Lamping
5297f06717
replaced every appearance of gtk_scrolled_window_new() with
...
scrolled_window_new().
added gtk_scrolled_window_set_policy(AUTOMATIC,AUTOMATIC) to
scrolled_window_new()
added GTK2's gtk_scrolled_window_set_shadow(GTK_SHADOW_IN)
to every place needed
svn path=/trunk/; revision=9999
2004-02-06 19:19:12 +00:00
Ulf Lamping
8e2a930023
implemented dlg_button_row_new to get a standard function for
...
layouting the dialog buttons, and use it where appropriate.
This will help us with the GTK1/2 conflict on button layouts and
will also result in a more consistent look of the dialogs at all.
svn path=/trunk/; revision=9771
2004-01-21 21:19:34 +00:00
Ulf Lamping
949f1f2d07
using button compatibility macros
...
svn path=/trunk/; revision=9636
2004-01-10 16:27:43 +00:00
Jörg Mayer
3f020f582e
Compiling with -pedantic:
...
warning: comma at end of enumerator list
svn path=/trunk/; revision=9383
2003-12-21 04:31:58 +00:00
Guy Harris
5b58448744
From Albert Chin: get rid of C++ comments.
...
svn path=/trunk/; revision=9305
2003-12-17 00:50:22 +00:00
Ulf Lamping
cd01ca6cb0
using dlg_utils.c functions to catch the ESC key to close the dialog
...
svn path=/trunk/; revision=9110
2003-11-28 00:13:08 +00:00
Guy Harris
81ff12e4aa
Use "OK" for the "OK" button, as we do elsewhere.
...
svn path=/trunk/; revision=9025
2003-11-19 01:50:50 +00:00
Ulf Lamping
afafa5fd36
seperated "supported protocols and protocol fields" dialog, coming from help_dlg.c/.h
...
svn path=/trunk/; revision=9018
2003-11-18 23:56:45 +00:00