[glibmm] Gio::Application: Fix a signal definition.



commit 848119fe26d34f5ba93cc4105c40af48b9f9af49
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Mar 4 10:29:32 2011 +0100

    Gio::Application: Fix a signal definition.
    
    * gio/src/application.hg: The command-line signal returns an int, not a bool.

 ChangeLog              |    6 ++++++
 gio/src/application.hg |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7021b21..3138327 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-03-04  Murray Cumming  <murrayc murrayc com>
 
+	Gio::Application: Fix a signal definition.
+
+	* gio/src/application.hg: The command-line signal returns an int, not a bool.
+
+2011-03-04  Murray Cumming  <murrayc murrayc com>
+
 	Gio::Application: Added get_environ().
 
 	* gio/src/gio_others.defs: Add a hand-written definition for this, because 
diff --git a/gio/src/application.hg b/gio/src/application.hg
index 73b45b8..0bf60cc 100644
--- a/gio/src/application.hg
+++ b/gio/src/application.hg
@@ -158,7 +158,7 @@ public:
   Glib::SignalProxy2< void,  const type_vec_files&, const Glib::ustring& > signal_open();
 
 #m4 _CONVERSION(`GApplicationCommandLine*', `const Glib::RefPtr<ApplicationCommandLine>&',`Glib::wrap($3, true)')
-  _WRAP_SIGNAL(bool command_line(const Glib::RefPtr<ApplicationCommandLine>& command_line), "command-line")
+  _WRAP_SIGNAL(int command_line(const Glib::RefPtr<ApplicationCommandLine>& command_line), "command-line")
 
 protected:
   virtual void on_open(const type_vec_files& files, const Glib::ustring& hint);



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