]> git.sur5r.net Git - glabels/blobdiff - src/critical-error-handler.c
Imported Upstream version 3.0.0
[glabels] / src / critical-error-handler.c
index 69a8866514b969973889ff0746a4939303411f49..0d9fed1d44d3ca94140139cd4d9d4603ac119f3f 100644 (file)
@@ -1,43 +1,39 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
-
 /*
- *  (GLABELS) Label and Business Card Creation program for GNOME
- *
- *  critical-error-handler.c:  critical error handler
+ *  critical-error-handler.h
+ *  Copyright (C) 2005-2009  Jim Evins <evins@snaught.com>.
  *
- *  Copyright (C) 2005  Jim Evins <evins@snaught.com>.
+ *  This file is part of gLabels.
  *
- *  This program is free software; you can redistribute it and/or modify
+ *  gLabels is free software: you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
+ *  the Free Software Foundation, either version 3 of the License, or
  *  (at your option) any later version.
  *
- *  This program is distributed in the hope that it will be useful,
+ *  gLabels 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 General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ *  You should have received a copy of the GNU General Public License
+ *  along with gLabels.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 #include <config.h>
 
 #include "critical-error-handler.h"
 
-#include <glib/gmessages.h>
+#include <glib.h>
 #include <glib/gi18n.h>
-#include <gtk/gtkmessagedialog.h>
-#include <gtk/gtkstock.h>
+#include <gtk/gtk.h>
 #include <stdlib.h>
 
+
 static void critical_error_handler (const gchar    *log_domain,
                                     GLogLevelFlags  log_level,
                                     const gchar    *message,
                                     gpointer        user_data);
 
-\f
+
 /***************************************************************************/
 /* Initialize error handler.                                               */
 /***************************************************************************/
@@ -55,6 +51,7 @@ gl_critical_error_handler_init (void)
                            "glabels");
 }
 
+
 /*-------------------------------------------------------------------------*/
 /* PRIVATE.  Actual error handler.                                         */
 /*-------------------------------------------------------------------------*/
@@ -81,3 +78,13 @@ critical_error_handler (const gchar    *log_domain,
         abort ();
 }
 
+
+
+/*
+ * Local Variables:       -- emacs
+ * mode: C                -- emacs
+ * c-basic-offset: 8      -- emacs
+ * tab-width: 8           -- emacs
+ * indent-tabs-mode: nil  -- emacs
+ * End:                   -- emacs
+ */