Dangerous Function Cast at dlg_utils.c:466 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
dlg_set_activate (/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/dlg_utils.c)![]() | ||||||
![]() | ||||||
456 | ||||||
457 | XXX - there should be a way to specify that a GtkEntry | |||||
458 | shouldn't itself handle the Return key, but should let it be | |||||
459 | passed on to the parent, so that you don't have to do this | |||||
460 | by hand for every GtkEntry in a dialog box, but, alas, | |||||
461 | there isn't. (Does this problem exist for other ? | |||||
462 | I.e., are there any others that seize the Return key? */ | |||||
463 | void | |||||
464 | dlg_set_activate(GtkWidget * , GtkWidget * ) | |||||
465 | { | |||||
466 | g_signal_connect(activate", , "G_CALLBACK(dlg_activate), );
| |||||
467 | } | |||||
468 | ||||||
469 | static void | |||||
470 | dlg_activate (GtkWidget * _U_, gpointer ) | |||||
471 | { | |||||
472 | (GTK_WIDGET( )); | |||||
473 | } | |||||
474 | ||||||
![]() |