[PATCH] Test action signals in plug-in generator.
- From: José Alburquerque <jaalburqu svn gnome org>
- Subject: [PATCH] Test action signals in plug-in generator.
- Date: Tue, 15 Dec 2009 10:50:40 -0500
---
.../extra_defs_gen/generate_plugin_gmmproc_file.cc | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/tools/extra_defs_gen/generate_plugin_gmmproc_file.cc b/tools/extra_defs_gen/generate_plugin_gmmproc_file.cc
index e0192a3..ca93292 100644
--- a/tools/extra_defs_gen/generate_plugin_gmmproc_file.cc
+++ b/tools/extra_defs_gen/generate_plugin_gmmproc_file.cc
@@ -20,7 +20,6 @@
#include <glibmm.h>
#include <algorithm>
#include <iostream>
-#include <sstream>
namespace
{
@@ -369,6 +368,10 @@ static std::string get_signal_wrap_statements(std::string& includeMacroCalls,
cClassSignalDeclarations += " " + returnCType + " (*" +
signalMethodName + ") (" + cTypeName + "* element";
+ if(signalQuery.signal_flags | G_SIGNAL_ACTION)
+ std::cerr << signalMethodName << " of " << cppTypeName << " is an "
+ "action signal." << std::endl;
+
//Loop through the list of parameters:
const GType* pParameters = signalQuery.param_types;
if(pParameters)
--
1.6.3.3
--=-TUOhjuHaIMcuIO31A7/e--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]