static gboolean
delete_window_callback (gpointer w_p)
{
  meta_window_kill ((MetaWindow*) w_p);

  return FALSE; /* don't do it again */
}
Beispiel #2
0
static void
dialog_exited (GPid pid, int status, gpointer user_data)
{
  MetaWindow *ours = (MetaWindow*) user_data;

  ours->dialog_pid = -1;

  /* exit status of 1 means the user pressed "Force Quit" */
  if (WIFEXITED (status) && WEXITSTATUS (status) == 1)
    meta_window_kill (ours);
}