Merge branch '1307-tarball-dist' into 'master'
[glib.git] / gio / gnativevolumemonitor.c
blob1997f2e2e0e1f471658644e747046247e052ac7f
1 /* GIO - GLib Input, Output and Streaming Library
3 * Copyright (C) 2006-2007 Red Hat, Inc.
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General
16 * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
18 * Author: Alexander Larsson <alexl@redhat.com>
21 #include "config.h"
23 #include <string.h>
25 #include <glib.h>
26 #include "gnativevolumemonitor.h"
29 G_DEFINE_ABSTRACT_TYPE (GNativeVolumeMonitor, g_native_volume_monitor, G_TYPE_VOLUME_MONITOR)
31 static void
32 g_native_volume_monitor_finalize (GObject *object)
34 G_OBJECT_CLASS (g_native_volume_monitor_parent_class)->finalize (object);
38 static void
39 g_native_volume_monitor_class_init (GNativeVolumeMonitorClass *klass)
41 GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
43 gobject_class->finalize = g_native_volume_monitor_finalize;
47 static void
48 g_native_volume_monitor_init (GNativeVolumeMonitor *native_monitor)