Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at gui_utils.c:254

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

window_set_cancel_button

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/gui_utils.c)expand/collapse
Show more  
 244  window_set_cancel(GtkWidget *widget, GtkWidget *cancel_button)
 245  {
 246    g_signal_connect(widget, "key_press_event", G_CALLBACK(window_key_press_cb), cancel_button);
 247  }
 248   
 249   
 250  /* set the actions needed for the cancel "Close"/"Ok"/"Cancel" button that closes the window */
 251  void window_set_cancel_button(GtkWidget *win, GtkWidget *bt, window_cancel_button_fct cb)
 252  {
 253    if(cb)
 254      g_signal_connect(bt, "clicked", G_CALLBACK(cb), win);
 255   
 256    gtk_widget_grab_default(bt);
 257   
 258    window_set_cancel(win, bt);
 259  }
 260   
 261   
 262  /* default callback handler for cancel button "clicked" signal */
 263  void window_cancel_button_cb(GtkWidget *w _U_, gpointer data)
 264  {
Show more  




Change Warning 316.28256 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: