Text   |  XML   |  ReML   |   Visible Warnings:

Dangerous Function Cast  at dlg_utils.c:466

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

dlg_set_activate

(/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/dlg_utils.c)expand/collapse
Show more  
 456   
 457     XXX - there should be a way to specify that a GtkEntry widget 
 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 widget in a dialog box, but, alas,
 461     there isn't.  (Does this problem exist for other widgets?
 462     I.e., are there any others that seize the Return key? */
 463  void 
 464  dlg_set_activate(GtkWidget *widget, GtkWidget *ok_button)
 465  {
 466    g_signal_connect(widget, "activate", G_CALLBACK(dlg_activate), ok_button);
 467  }
 468   
 469  static void
 470  dlg_activate (GtkWidget *widget _U_, gpointer ok_button)
 471  {
 472    gtk_widget_activate(GTK_WIDGET(ok_button));
 473  }
 474   
Show more  




Change Warning 214.28049 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: