~jconti/recent-notifications/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * notify-monitor.c - A gobject subclass to watch dbus for org.freedesktop.Notification.Notify messages.
 */

#include <stdio.h>
#include "notify-monitor.h"

static void notify_monitor_class_init(NotifyMonitorClass *klass);
static void notify_monitor_init(NotifyMonitor *monitor);

G_DEFINE_TYPE (NotifyMonitor, notify_monitor, G_TYPE_OBJECT);

static void
notify_monitor_class_init(NotifyMonitorClass *klass)
{
}

static void
notify_monitor_init(NotifyMonitor *monitor)
{
}

NotifyMonitor* 
notify_monitor_new(void)
{
  return NOTIFY_MONITOR(g_object_new(NOTIFY_MONITOR_TYPE, NULL));
}