// Generated by gmmproc 2.84.0 -- DO NOT MODIFY!


#include <glibmm.h>

#include <gtkmm/error.h>
#include <gtkmm/private/error_p.h>


/* Copyright 2022 The gtkmm Development Team
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
 */

#include <gtk/gtk.h>

namespace
{
} // anonymous namespace


Gtk::DialogError::DialogError(Gtk::DialogError::Code error_code, const Glib::ustring& error_message)
:
  Glib::Error (GTK_DIALOG_ERROR, error_code, error_message)
{}

Gtk::DialogError::DialogError(GError* gobject)
:
  Glib::Error (gobject)
{}

Gtk::DialogError::Code Gtk::DialogError::code() const
{
  return static_cast<Code>(Glib::Error::code());
}

void Gtk::DialogError::throw_func(GError* gobject)
{
  throw Gtk::DialogError(gobject);
}

// static
GType Glib::Value<Gtk::DialogError::Code>::value_type()
{
  return gtk_dialog_error_get_type();
}


