### ----------------------------------------------------
### -- Gnome::Gtk3
### -- Licenses: Artistic-2.0
### -- Authors: Marcel Timmerman
### -- File: lib/Gnome/Gtk3/Main.rakumod
### ----------------------------------------------------
### -- Chunk 2 of 2
 gtk_main_level() > 0 {
      gtk_main_quit;
    }

    # else ignore quit()
  }

  # otherwise run it despite any errors which may occur
  else {
    gtk_main_quit;
  }
}

sub gtk_main_quit ( )
  is native(&gtk-lib)
  { * }


