[nautilus-actions] Minor cosmetic changes
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] Minor cosmetic changes
- Date: Sat, 18 Feb 2012 17:24:50 +0000 (UTC)
commit 2514c7f2efa2c9e0e4d9db3e85e2e4a054c6cbed
Author: Pierre Wieser <pwieser trychlos org>
Date: Fri Feb 17 08:03:37 2012 +0100
Minor cosmetic changes
ChangeLog | 8 ++++++++
src/core/na-ioption.c | 1 -
src/nact/base-isession.c | 1 -
src/nact/base-isession.h | 2 ++
src/nact/base-iunique.c | 1 -
src/nact/base-iunique.h | 2 ++
6 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 858ee28..4dd5b99 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2012-02-17 Pierre Wieser <pwieser trychlos org>
+
+ * src/core/na-ioption.c (get_ioption_data):
+ * src/nact/base-isession.c (get_isession_data):
+ * src/nact/base-isession.h:
+ * src/nact/base-iunique.c (get_iunique_data):
+ * src/nact/base-iunique.h: Minor cosmetic changes.
+
2012-02-16 Pierre Wieser <pwieser trychlos org>
* src/nact/nact-menubar.h (nact_menubar_is_level_zero_order_changed):
diff --git a/src/core/na-ioption.c b/src/core/na-ioption.c
index 924326d..0ea9f15 100644
--- a/src/core/na-ioption.c
+++ b/src/core/na-ioption.c
@@ -158,7 +158,6 @@ get_ioption_data( NAIOption *instance )
if( !data ){
data = g_new0( IOptionData, 1 );
g_object_set_data( G_OBJECT( instance ), IOPTION_PROP_DATA, data );
-
g_object_weak_ref( G_OBJECT( instance ), ( GWeakNotify ) on_instance_finalized, NULL );
data->initialized = TRUE;
diff --git a/src/nact/base-isession.c b/src/nact/base-isession.c
index e1032d1..a2e8fb9 100644
--- a/src/nact/base-isession.c
+++ b/src/nact/base-isession.c
@@ -213,7 +213,6 @@ get_isession_data( BaseISession *instance )
if( !data ){
data = g_new0( ISessionData, 1 );
g_object_set_data( G_OBJECT( instance ), BASE_PROP_ISESSION_DATA, data );
-
g_object_weak_ref( G_OBJECT( instance ), ( GWeakNotify ) on_instance_finalized, NULL );
}
diff --git a/src/nact/base-isession.h b/src/nact/base-isession.h
index 791d919..1b88230 100644
--- a/src/nact/base-isession.h
+++ b/src/nact/base-isession.h
@@ -39,6 +39,8 @@
* This interface implements the features needed to monitor the end of the
* session, thus letting the application react if some modifications need
* to be saved before allowing to quit.
+ *
+ * This interface is implemented by the BaseApplication class.
*/
#include <gtk/gtk.h>
diff --git a/src/nact/base-iunique.c b/src/nact/base-iunique.c
index b3184bd..81ffae0 100644
--- a/src/nact/base-iunique.c
+++ b/src/nact/base-iunique.c
@@ -149,7 +149,6 @@ get_iunique_data( BaseIUnique *instance )
if( !data ){
data = g_new0( IUniqueData, 1 );
g_object_set_data( G_OBJECT( instance ), BASE_PROP_IUNIQUE_DATA, data );
-
g_object_weak_ref( G_OBJECT( instance ), ( GWeakNotify ) on_instance_finalized, NULL );
}
diff --git a/src/nact/base-iunique.h b/src/nact/base-iunique.h
index 63bd123..e30d36b 100644
--- a/src/nact/base-iunique.h
+++ b/src/nact/base-iunique.h
@@ -38,6 +38,8 @@
*
* This interface implements the features to make an application
* unique, i.e. check that we run only one instance of it.
+ *
+ * This interface is implemented by the BaseApplication class.
*/
#include <glib-object.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]