[nautilus-actions] src/nact/nact-application.h: review comments
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] src/nact/nact-application.h: review comments
- Date: Wed, 11 Jan 2012 22:10:29 +0000 (UTC)
commit 2fad9fdbb3f195a67bd9de6f6db98c1ae0a880ad
Author: Pierre Wieser <pwieser trychlos org>
Date: Mon Jan 9 07:04:09 2012 +0100
src/nact/nact-application.h: review comments
ChangeLog | 2 ++
src/nact/nact-application.h | 19 ++++++++++---------
2 files changed, 12 insertions(+), 9 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e72c40b..da5d7e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2012-01-09 Pierre Wieser <pwieser trychlos org>
+ * src/nact/nact-application.h: Review comments.
+
* src/nact/nact-application.c (appli_create_windows): Fix return value.
* src/nact/base-application.h: Fix comments.
diff --git a/src/nact/nact-application.h b/src/nact/nact-application.h
index 295b2d0..50b15e4 100644
--- a/src/nact/nact-application.h
+++ b/src/nact/nact-application.h
@@ -40,7 +40,8 @@
*
* The #NactApplication object is instanciated in main() function.
*
- * Properties are explicitely set in main() before calling base_application_run().
+ * Properties are explicitely set in nact_application_new() before
+ * calling base_application_run().
*
* The #NactApplication object is later g_object_unref() in main() after
* base_application_run() has returned.
@@ -52,14 +53,14 @@
G_BEGIN_DECLS
-#define NACT_APPLICATION_TYPE ( nact_application_get_type())
-#define NACT_APPLICATION( o ) ( G_TYPE_CHECK_INSTANCE_CAST( o, NACT_APPLICATION_TYPE, NactApplication ))
-#define NACT_APPLICATION_CLASS( k ) ( G_TYPE_CHECK_CLASS_CAST( k, NACT_APPLICATION_TYPE, NactApplicationClass ))
-#define NACT_IS_APPLICATION( o ) ( G_TYPE_CHECK_INSTANCE_TYPE( o, NACT_APPLICATION_TYPE ))
-#define NACT_IS_APPLICATION_CLASS( k ) ( G_TYPE_CHECK_CLASS_TYPE(( k ), NACT_APPLICATION_TYPE ))
-#define NACT_APPLICATION_GET_CLASS( o ) ( G_TYPE_INSTANCE_GET_CLASS(( o ), NACT_APPLICATION_TYPE, NactApplicationClass ))
+#define NACT_APPLICATION_TYPE ( nact_application_get_type())
+#define NACT_APPLICATION( object ) ( G_TYPE_CHECK_INSTANCE_CAST( object, NACT_APPLICATION_TYPE, NactApplication ))
+#define NACT_APPLICATION_CLASS( klass ) ( G_TYPE_CHECK_CLASS_CAST( klass, NACT_APPLICATION_TYPE, NactApplicationClass ))
+#define NACT_IS_APPLICATION( object ) ( G_TYPE_CHECK_INSTANCE_TYPE( object, NACT_APPLICATION_TYPE ))
+#define NACT_IS_APPLICATION_CLASS( klass ) ( G_TYPE_CHECK_CLASS_TYPE(( klass ), NACT_APPLICATION_TYPE ))
+#define NACT_APPLICATION_GET_CLASS( object ) ( G_TYPE_INSTANCE_GET_CLASS(( object ), NACT_APPLICATION_TYPE, NactApplicationClass ))
-typedef struct _NactApplicationPrivate NactApplicationPrivate;
+typedef struct _NactApplicationPrivate NactApplicationPrivate;
typedef struct {
/*< private >*/
@@ -68,7 +69,7 @@ typedef struct {
}
NactApplication;
-typedef struct _NactApplicationClassPrivate NactApplicationClassPrivate;
+typedef struct _NactApplicationClassPrivate NactApplicationClassPrivate;
typedef struct {
/*< private >*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]