Dangerous Function Cast at capture_dlg.c:2262 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
capture_prep_cb (/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/capture_dlg.c)![]() | ||||||
![]() | ||||||
2252 | signal and have the handler check for ESC, so that we can have ESC | |||||
2253 | activate the "Cancel" ; in order to support Alt+<key> mnemonics | |||||
2254 | for and the like, we may have to construct an accelerator | |||||
2255 | group by hand and set up the accelerators by hand (if that even | |||||
2256 | works - I've not tried it yet); we have to do a " ()" | |||||
2257 | to keep some container from getting the initial focus, so that | |||||
2258 | you don't have to tab into the first in order to start typing | |||||
2259 | in it; and it now appears that you simply *can't* make a combo box | |||||
2260 | get the initial focus, at least not in the obvious fashion. Sigh.... */ | |||||
2261 | ||||||
2262 | g_signal_connect(cap_open_w, "delete_event", G_CALLBACK(window_delete_event_cb), NULL);
| |||||
2263 | g_signal_connect(cap_open_w, "destroy", G_CALLBACK(capture_prep_destroy_cb), NULL); | |||||
2264 | ||||||
2265 | /* Give the initial focus to the "Filter" entry box. */ | |||||
2266 | filter_te); ( | |||||
2267 | ||||||
2268 | cap_open_w); ( | |||||
2269 | window_present(cap_open_w); | |||||
2270 | } | |||||
2271 | ||||||
2272 | /* everythings prepared, now it's really time to start the capture */ | |||||
![]() |