Commit a8dcb199 authored by Pierre Wieser's avatar Pierre Wieser

FmaGConfMonitor: rename the GType macro

parent df47ab58
......@@ -671,7 +671,7 @@ fma_object_set_capabilities
<SECTION>
<FILE>gconf-monitor</FILE>
FMA_GCONF_MONITOR_TYPE
FMA_TYPE_GCONF_MONITOR
FMA_GCONF_MONITOR
FMA_IS_GCONF_MONITOR
FMAGConfMonitor
......
......@@ -50,12 +50,12 @@
G_BEGIN_DECLS
#define FMA_GCONF_MONITOR_TYPE ( fma_gconf_monitor_get_type())
#define FMA_GCONF_MONITOR( object ) ( G_TYPE_CHECK_INSTANCE_CAST( object, FMA_GCONF_MONITOR_TYPE, FMAGConfMonitor ))
#define FMA_GCONF_MONITOR_CLASS( klass ) ( G_TYPE_CHECK_CLASS_CAST( klass, FMA_GCONF_MONITOR_TYPE, FMAGConfMonitorClass ))
#define FMA_IS_GCONF_MONITOR( object ) ( G_TYPE_CHECK_INSTANCE_TYPE( object, FMA_GCONF_MONITOR_TYPE ))
#define FMA_IS_GCONF_MONITOR_CLASS( klass ) ( G_TYPE_CHECK_CLASS_TYPE(( klass ), FMA_GCONF_MONITOR_TYPE ))
#define FMA_GCONF_MONITOR_GET_CLASS( object ) ( G_TYPE_INSTANCE_GET_CLASS(( object ), FMA_GCONF_MONITOR_TYPE, FMAGConfMonitorClass ))
#define FMA_TYPE_GCONF_MONITOR ( fma_gconf_monitor_get_type())
#define FMA_GCONF_MONITOR( object ) ( G_TYPE_CHECK_INSTANCE_CAST( object, FMA_TYPE_GCONF_MONITOR, FMAGConfMonitor ))
#define FMA_GCONF_MONITOR_CLASS( klass ) ( G_TYPE_CHECK_CLASS_CAST( klass, FMA_TYPE_GCONF_MONITOR, FMAGConfMonitorClass ))
#define FMA_IS_GCONF_MONITOR( object ) ( G_TYPE_CHECK_INSTANCE_TYPE( object, FMA_TYPE_GCONF_MONITOR ))
#define FMA_IS_GCONF_MONITOR_CLASS( klass ) ( G_TYPE_CHECK_CLASS_TYPE(( klass ), FMA_TYPE_GCONF_MONITOR ))
#define FMA_GCONF_MONITOR_GET_CLASS( object ) ( G_TYPE_INSTANCE_GET_CLASS(( object ), FMA_TYPE_GCONF_MONITOR, FMAGConfMonitorClass ))
typedef struct _FMAGConfMonitorPrivate FMAGConfMonitorPrivate;
......
......@@ -212,7 +212,7 @@ fma_gconf_monitor_new( const gchar *path, GConfClientNotifyFunc handler, gpointe
g_debug( "%s: path=%s, user_data=%p", thisfn, path, ( void * ) user_data );
monitor = g_object_new( FMA_GCONF_MONITOR_TYPE, NULL );
monitor = g_object_new( FMA_TYPE_GCONF_MONITOR, NULL );
monitor->private->path = g_strdup( path );
monitor->private->preload = GCONF_CLIENT_PRELOAD_RECURSIVE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment