]> Pileus Git - grits/blobdiff - src/gis-prefs.c
Update copyright and email address
[grits] / src / gis-prefs.c
index 113393d5b9a57b824bb4a616531ae66ded6dc73e..e66be1a2117ffa448bf5d44c1d9c3f666b048f24 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009 Andy Spencer <spenceal@rose-hulman.edu>
+ * Copyright (C) 2009-2010 Andy Spencer <andy753421@gmail.com>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -57,7 +57,7 @@ GisPrefs *gis_prefs_new(const gchar *config, const gchar *defaults)
                g_free(tmp);
        }
        if (error) {
-               g_warning("GisPrefs: new - Unable to load key file `%s': %s",
+               g_debug("GisPrefs: new - Unable to load key file `%s': %s",
                        self->key_path, error->message);
        }
        return self;
@@ -115,13 +115,6 @@ static void gis_prefs_init(GisPrefs *self)
        g_debug("GisPrefs: init");
        self->key_file = g_key_file_new();
 }
-static GObject *gis_prefs_constructor(GType gtype, guint n_properties,
-               GObjectConstructParam *properties)
-{
-       g_debug("GisPrefs: constructor");
-       GObjectClass *parent_class = G_OBJECT_CLASS(gis_prefs_parent_class);
-       return  parent_class->constructor(gtype, n_properties, properties);
-}
 static void gis_prefs_dispose(GObject *_self)
 {
        g_debug("GisPrefs: dispose");
@@ -140,18 +133,11 @@ static void gis_prefs_dispose(GObject *_self)
        }
        G_OBJECT_CLASS(gis_prefs_parent_class)->dispose(_self);
 }
-static void gis_prefs_finalize(GObject *_self)
-{
-       g_debug("GisPrefs: finalize");
-       G_OBJECT_CLASS(gis_prefs_parent_class)->finalize(_self);
-}
 static void gis_prefs_class_init(GisPrefsClass *klass)
 {
        g_debug("GisPrefs: class_init");
        GObjectClass *gobject_class = G_OBJECT_CLASS(klass);
-       gobject_class->constructor  = gis_prefs_constructor;
        gobject_class->dispose      = gis_prefs_dispose;
-       gobject_class->finalize     = gis_prefs_finalize;
        signals[SIG_PREF_CHANGED] = g_signal_new(
                        "pref-changed",
                        G_TYPE_FROM_CLASS(gobject_class),