Jörg Mayer
fc3bb80871
Add new old-gtk-compat.h to the distribution
...
svn path=/trunk/; revision=38154
2011-07-21 20:57:10 +00:00
Jörg Mayer
41a6524702
Update GSEAL errors
...
svn path=/trunk/; revision=38152
2011-07-21 20:22:16 +00:00
Jörg Mayer
bb7650f70d
Fix almost all accesses to ->window
...
svn path=/trunk/; revision=38151
2011-07-21 20:12:08 +00:00
Jörg Mayer
f298effccd
Another one I missed.
...
svn path=/trunk/; revision=38149
2011-07-21 19:00:55 +00:00
Jörg Mayer
94fbcbfde6
Fix for buildbot failure. Hopefully I didn't miss too many more.
...
svn path=/trunk/; revision=38148
2011-07-21 18:36:17 +00:00
Jörg Mayer
369929c2f6
Create a file containing macros to provide the access-functions
...
when the gtk version is too old (for the 2,14,0 case).
Remove all old access methods that were guarded by 2,14,0 tests.
Feel free to do the same for newer guards :-)
svn path=/trunk/; revision=38147
2011-07-21 17:44:02 +00:00
Michael Tüxen
f30c3675ec
Fix issue reported by Joerg.
...
svn path=/trunk/; revision=38144
2011-07-21 16:00:38 +00:00
Michael Tüxen
91df20357a
Make sure that the interfaces listed in ifaces really exist.
...
Some protection code in capture / options.
Obtained from Irene Ruengeler.
svn path=/trunk/; revision=38142
2011-07-21 15:23:46 +00:00
Michael Tüxen
5014f11884
strdup -> g_strdup.
...
svn path=/trunk/; revision=38141
2011-07-21 12:06:18 +00:00
Michael Tüxen
dcac95be11
Add some temporary protection code to support the current capture
...
options dialog box. It will be removed as soon as the capture options
dialog box supports multiple interfaces.
Received from Irene Ruengeler.
svn path=/trunk/; revision=38140
2011-07-21 11:28:16 +00:00
Jörg Mayer
99e0c43d35
Replace references to style by gtk_widget_get_style (according to
...
http://developer.gnome.org/gtk/2.24/GtkWidget.html#gtk-widget-get-style
this doesn't require a minimum version)
svn path=/trunk/; revision=38139
2011-07-21 00:16:05 +00:00
Anders Broman
c165083608
strdup -> g_strdup
...
svn path=/trunk/; revision=38134
2011-07-20 13:53:00 +00:00
Michael Tüxen
7a16d2fa87
Synchronize the selection of interfaces between the main welcome
...
window, the capture/interface dialog box and the capture / start
menu item.
Obtained from Irene Ruengeler.
svn path=/trunk/; revision=38133
2011-07-20 12:51:57 +00:00
Gerald Combs
3991a62d31
The GTK+ documentation says we can pass NULL to gtk_table_get_size(). Do
...
that instead of using a dummy variable.
svn path=/trunk/; revision=38127
2011-07-19 22:38:28 +00:00
Jörg Mayer
eedc9b880a
Reenable the commented out code. I was able to reproducably break
...
the compilation but after a complete removal of the build directory
and a rebuild the problem is gone.
svn path=/trunk/; revision=38123
2011-07-19 19:36:26 +00:00
Jörg Mayer
fd42af2127
There are some undefined symbols in the code: comment out
...
the problematic code parts.
svn path=/trunk/; revision=38118
2011-07-19 18:00:08 +00:00
Jörg Mayer
21adeb2cfc
Back out parts of 38112, as pointed out by Stig Bj\370rlykke:
...
The changes in profile_dlg.c, uat_gui.c and new_packet_list.c does not
work. The tooltip is not displayed, and it's not possible to get the
context menu from a column header in the packet list.
...
I guess gtk_tree_view_column_get_widget() does not return
column->button, which is the widget we use.
svn path=/trunk/; revision=38117
2011-07-19 17:40:23 +00:00
Jörg Mayer
40cc0b57a1
Martin Mathieson: gtk_table_get_size() was only introduced in gtk 2.22
...
svn path=/trunk/; revision=38116
2011-07-19 17:29:27 +00:00
Martin Mathieson
049643cf28
From Pradip Biswas, bug 6127 - Added Decode for RRC BCCH (BCH and DL_SCH) messages on RLC-over-UDP.
...
Add separate codes/cases for BCH-over-BCH and BCH-over-DLSCH.
svn path=/trunk/; revision=38115
2011-07-19 16:41:56 +00:00
Jörg Mayer
1bf94efa12
Get rid of direct access to struct GtkToggleButton
...
svn path=/trunk/; revision=38113
2011-07-19 16:02:16 +00:00
Jörg Mayer
6d20f48e88
Fix access to the following stuctures:
...
GtkCheckMenuItem
GtkTable
GtkTreeViewColumn
svn path=/trunk/; revision=38112
2011-07-19 15:13:36 +00:00
Jörg Mayer
9166443e3c
Get rid of all GtkAdjustment element accesses. Fix a bug
...
introduced when fixing this stuff for rtp_player.c
svn path=/trunk/; revision=38111
2011-07-19 14:33:50 +00:00
Michael Tüxen
358fcedaba
Get the interfaces list from the Capture / Interfaces list in sync
...
when using the capture / start menu item.
Obtained from Irene Ruengeler.
svn path=/trunk/; revision=38109
2011-07-19 12:42:18 +00:00
Jörg Mayer
4a06b078b6
Fix some errors when compiling with -DGSEAL_ENABLE.
...
svn path=/trunk/; revision=38108
2011-07-19 11:02:26 +00:00
Jörg Mayer
7ba73972cd
Add instructions how to use the database offline (taken from
...
an explanation by Chris Maynard)
svn path=/trunk/; revision=38098
2011-07-18 20:49:35 +00:00
Jörg Mayer
7fc2e9b2b5
Add a comment how to actually use the protocol help.
...
svn path=/trunk/; revision=38097
2011-07-18 20:44:01 +00:00
Jörg Mayer
7e6b1202c9
Update status file to current state and statistics
...
svn path=/trunk/; revision=38093
2011-07-18 18:24:22 +00:00
Jörg Mayer
f60fdf3dcc
Fix some trivial cases of gdk-deprecated warnings. The remaining
...
ones have to be fixed by someone who understands the code.
svn path=/trunk/; revision=38092
2011-07-18 18:16:36 +00:00
Michael Tüxen
f2cbf9239d
Ignore interfaces without a name.
...
svn path=/trunk/; revision=38091
2011-07-18 17:44:26 +00:00
Michael Tüxen
da0355b1fa
Make a check a bit more pedantic.
...
svn path=/trunk/; revision=38090
2011-07-18 17:15:45 +00:00
Michael Tüxen
a180787959
Make sure that the Capture/Start menue item will always use the
...
same interfaces as selected in the Main Welcome Window.
svn path=/trunk/; revision=38087
2011-07-18 16:20:19 +00:00
Jörg Mayer
fae6f11845
Small comment update: GtkItemFactory has been deprecated as of gtk 2.4
...
(aka close to forever).
svn path=/trunk/; revision=38083
2011-07-18 13:19:34 +00:00
Jörg Mayer
277a56089c
Update STATUS.gtk3
...
Make linking with stubbed out proto_help functions really work.
Add a comment to proto_help that its functionality will be lost
once we make the ui-manager code default unless someone cares
enough to fix it.
Enable -DGTK_DISABLE_DEPRECATED iff building with ui-manager.
svn path=/trunk/; revision=38079
2011-07-18 12:40:40 +00:00
Jörg Mayer
6d7b0cf5f1
Prevent error about undefined function while linking.
...
svn path=/trunk/; revision=38078
2011-07-18 12:18:00 +00:00
Michael Tüxen
3e3bc0f7f0
Remove redundant code.
...
svn path=/trunk/; revision=38063
2011-07-16 17:04:48 +00:00
Michael Tüxen
09fb2cf315
Use correct plausability check.
...
svn path=/trunk/; revision=38062
2011-07-16 14:19:43 +00:00
Michael Tüxen
09af2bc6d2
Don't allow capturing from multiple interface when compiled with multiple thread
...
support.
svn path=/trunk/; revision=38057
2011-07-16 11:07:32 +00:00
Michael Tüxen
9adf6c20ca
Get rid of two gtk runtime warnings.
...
svn path=/trunk/; revision=38052
2011-07-15 21:26:43 +00:00
Michael Tüxen
85d399d906
You can't create a mutex without initializing the thread system.
...
So #ifdef the code with USE_THREADS.
svn path=/trunk/; revision=38045
2011-07-15 14:58:45 +00:00
Michael Tüxen
c481dda78c
Fix compilation on non-windows platforms defining USE_THREADS.
...
svn path=/trunk/; revision=38044
2011-07-15 14:31:27 +00:00
Jörg Mayer
00beddf9fc
Add a missing ( in the UI_MANAGER case
...
svn path=/trunk/; revision=38042
2011-07-15 11:14:41 +00:00
Gerald Combs
a533d70be0
On Windows enable threads everywhere instead of just in dumpcap. If
...
threads are enabled use them to check the recent file list. Fixes bug
3810.
svn path=/trunk/; revision=38033
2011-07-14 23:18:02 +00:00
Anders Broman
a779bef74d
Fix trunk/gtk/menus.c:4427:9: error: âsep_entryâ undeclared (first use in this function)
...
svn path=/trunk/; revision=38031
2011-07-14 22:08:15 +00:00
Jörg Mayer
ef1e70dfd7
Remove trailing whitespace
...
Replace a deprecated gdk function
svn path=/trunk/; revision=38027
2011-07-14 21:25:33 +00:00
Anders Broman
1785a37ab4
Remove GtkItemFactoryEntry code in MAIN_MENU_USE_UIMANAGER
...
code path.
Don't build and don't use protocol help if MAIN_MENU_USE_UIMANAGER is defined.
svn path=/trunk/; revision=38024
2011-07-14 20:36:00 +00:00
Bill Meier
43806aff9d
Fix a crash when doing Telephony ! RTP ! Stream Analysis with capture files with truncated frames.
...
(That is: the capture files were created with a snapshot length less than the maximum).
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6120
svn path=/trunk/; revision=38023
2011-07-14 19:51:53 +00:00
Michael Tüxen
e791424ab6
Add back r37749, which was taken out by accident.
...
Thanks to Stephen Fisher for pointing it out.
svn path=/trunk/; revision=38018
2011-07-14 16:54:44 +00:00
Jörg Mayer
c04911c06a
Fix the last non-gtkitemfactory stuff for use with -DGTK_DISABLE_DEPRECATED.
...
Left are:
gtk/menus.c:4382:5: error: ‘GtkItemFactoryEntry’ undeclared (first use in this function)
gtk/menus.c:4382:26: error: ‘sep_entry’ undeclared (first use in this function)
gtk/proto_help.c:79:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
gtk/proto_help.c:166:2: error: ‘g_ph_menu_factory’ undeclared (first use in this function)
gtk/proto_help.c:166:2: error: implicit declaration of function ‘gtk_item_factory_from_widget’
gtk/proto_help.c:181:6: error: ‘g_ph_menu_factory’ undeclared (first use in this function)
gtk/proto_help.c:183:2: error: implicit declaration of function ‘gtk_item_factory_get_widget’
gtk/proto_help.c:191:2: error: implicit declaration of function ‘gtk_item_factory_get_item’
gtk/proto_help.c:216:2: error: ‘GtkItemFactoryEntry’ undeclared (first use in this function)
gtk/proto_help.c:216:23: error: ‘menu_entry’ undeclared (first use in this function)
gtk/proto_help.c:217:2: error: ISO C90 forbids mixed declarations and code
gtk/proto_help.c:222:6: error: ‘g_ph_menu_factory’ undeclared (first use in this function)
gtk/proto_help.c:258:4: error: implicit declaration of function ‘gtk_item_factory_create_item’
svn path=/trunk/; revision=38015
2011-07-14 09:43:53 +00:00
Anders Broman
6814cd03ee
Replace deprecated gdk_pixmap_unref() with g_object_unref().
...
Update checkAPIs.
svn path=/trunk/; revision=38013
2011-07-14 08:11:16 +00:00
Anders Broman
02e71fb443
From Joerg Mayer:
...
Patch fixes most of the remaining errors when compiling with
GTK_DISABLE_DEPRECATED.
svn path=/trunk/; revision=38012
2011-07-14 08:02:32 +00:00