[nautilus-actions] FmaGConfMonitor: rename the GType macro
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] FmaGConfMonitor: rename the GType macro
- Date: Tue, 21 Feb 2017 16:55:33 +0000 (UTC)
commit a8dcb1990dac1720b150a3e08f7047048e5a2645
Author: Pierre Wieser <pwieser trychlos org>
Date: Tue Feb 21 17:22:46 2017 +0100
FmaGConfMonitor: rename the GType macro
docs/reference/filemanager-actions-sections.txt | 2 +-
src/api/fma-gconf-monitor.h | 12 ++++++------
src/core/fma-gconf-monitor.c | 2 +-
3 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/docs/reference/filemanager-actions-sections.txt b/docs/reference/filemanager-actions-sections.txt
index e12b987..fa71399 100644
--- a/docs/reference/filemanager-actions-sections.txt
+++ b/docs/reference/filemanager-actions-sections.txt
@@ -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
diff --git a/src/api/fma-gconf-monitor.h b/src/api/fma-gconf-monitor.h
index 564b8e9..132e87b 100644
--- a/src/api/fma-gconf-monitor.h
+++ b/src/api/fma-gconf-monitor.h
@@ -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;
diff --git a/src/core/fma-gconf-monitor.c b/src/core/fma-gconf-monitor.c
index b2cd996..ef62dcf 100644
--- a/src/core/fma-gconf-monitor.c
+++ b/src/core/fma-gconf-monitor.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]