[glibmm] giomm: Add UnixCredentialsMessage to the build.



commit c155cd1e752cf3217c119bf33771c5f6dfb25c5a
Author: José Alburquerque <jaalburqu svn gnome org>
Date:   Tue Aug 24 19:16:15 2010 -0400

    	giomm: Add UnixCredentialsMessage to the build.
    
    	* tools/extra_defs_gen/generate_defs_gio.cc: Uncomment the code in the
    	extra defs generation tool so that properties and signals for
    	GUnixCredentialsMessage are generated.
    	* gio/src/gio_signals.defs: Regenerate the signal and properties def
    	file to get the properties of GUnixCredentialsMessage.
    	* gio/src/filelist.am: Mention the unixcredentialsmessage.hg so that
    	it is built.

 ChangeLog                                 |   12 ++++++++++++
 gio/src/filelist.am                       |    2 +-
 gio/src/gio_signals.defs                  |   11 +++++++++++
 tools/extra_defs_gen/generate_defs_gio.cc |    6 ++----
 4 files changed, 26 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 42c8e6a..18ff64f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2010-08-24  José Alburquerque  <jaalburqu svn gnome org>
+
+	giomm: Add UnixCredentialsMessage to the build.
+
+	* tools/extra_defs_gen/generate_defs_gio.cc: Uncomment the code in the
+	extra defs generation tool so that properties and signals for
+	GUnixCredentialsMessage are generated.
+	* gio/src/gio_signals.defs: Regenerate the signal and properties def
+	file to get the properties of GUnixCredentialsMessage.
+	* gio/src/filelist.am: Mention the unixcredentialsmessage.hg so that
+	it is built.
+
 2010-08-17  José Alburquerque  <jaalburqu svn gnome org>
 
 	giomm: Add UnixFDMessage to the build.
diff --git a/gio/src/filelist.am b/gio/src/filelist.am
index 05591a8..d385e9a 100644
--- a/gio/src/filelist.am
+++ b/gio/src/filelist.am
@@ -79,10 +79,10 @@ giomm_files_any_hg =			\
 	volume.hg			\
 	volumemonitor.hg
 
-#TODO: Include unixcredentialsmessage.hg below when bug #627013 is resolved.
 giomm_files_posix_hg =			\
 	desktopappinfo.hg		\
 	unixconnection.hg		\
+	unixcredentialsmessage.hg \
 	unixfdlist.hg \
 	unixfdmessage.hg \
 	unixinputstream.hg		\
diff --git a/gio/src/gio_signals.defs b/gio/src/gio_signals.defs
index 12caf97..53a0f2c 100644
--- a/gio/src/gio_signals.defs
+++ b/gio/src/gio_signals.defs
@@ -371,6 +371,17 @@
   (construct-only #t)
 )
 
+;; From GUnixCredentialsMessage
+
+(define-property credentials
+  (of-object "GUnixCredentialsMessage")
+  (prop-type "GParamObject")
+  (docs "The credentials stored in the message")
+  (readable #t)
+  (writable #t)
+  (construct-only #t)
+)
+
 ;; From GUnixFDMessage
 
 (define-property fd-list
diff --git a/tools/extra_defs_gen/generate_defs_gio.cc b/tools/extra_defs_gen/generate_defs_gio.cc
index f8a44fc..ac740d0 100644
--- a/tools/extra_defs_gen/generate_defs_gio.cc
+++ b/tools/extra_defs_gen/generate_defs_gio.cc
@@ -25,8 +25,7 @@
 #include <gio/gsettingsbackend.h>
 
 #ifndef G_OS_WIN32
-//TODO: Uncomment when bug #627013 is resolved.
-//#include <gio/gunixcredentialsmessage.h>
+#include <gio/gunixcredentialsmessage.h>
 # include <gio/gunixfdmessage.h>
 # include <gio/gunixinputstream.h>
 # include <gio/gunixoutputstream.h>
@@ -59,8 +58,7 @@ int main(int, char**)
             << get_defs(G_TYPE_FILTER_OUTPUT_STREAM)
 
 #ifndef G_OS_WIN32
-            //TODO: Uncomment when bug #627013 is resolved.
-            //<< get_defs(G_TYPE_UNIX_CREDENTIALS_MESSAGE)
+            << get_defs(G_TYPE_UNIX_CREDENTIALS_MESSAGE)
             << get_defs(G_TYPE_UNIX_FD_MESSAGE)
             << get_defs(G_TYPE_UNIX_INPUT_STREAM)
             << get_defs(G_TYPE_UNIX_OUTPUT_STREAM)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]