Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/gtk help_dlg.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 17 Aug 2000 03:17:49 -0500 (CDT)
guy         2000/08/17 03:17:44 CDT

  Modified files:
    gtk                  help_dlg.c 
  Log:
  Don't catch the "delete_event" signal for the "Help" window - we just
  need to catch the "destroy" event, and have its handler clear the global
  help window pointer.
  
  That means that the "Close" button callback also need not clear that
  pointer, it merely needs to destroy the widget; given that we're now
  always passing it a pointer to the widget as the "data" argument, we
  just have it destroy that widget.
  
  Revision  Changes    Path
  1.5       +16 -7     ethereal/gtk/help_dlg.c