90
90
FolksInspectSignalManager* folks_inspect_signal_manager_construct (GType object_type) {
91
91
FolksInspectSignalManager * self = NULL;
92
92
GeeHashMap* _tmp0_ = NULL;
94
GeeHashMap* _tmp2_ = NULL;
93
GeeHashMap* _tmp1_ = NULL;
96
94
self = (FolksInspectSignalManager*) g_object_new (object_type, NULL);
97
95
_tmp0_ = gee_hash_map_new (G_TYPE_GTYPE, NULL, NULL, GEE_TYPE_HASH_MAP, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
99
96
_g_object_unref0 (self->priv->signals_by_class_type);
100
self->priv->signals_by_class_type = _tmp1_;
101
_tmp2_ = gee_hash_map_new (G_TYPE_OBJECT, (GBoxedCopyFunc) g_object_ref, g_object_unref, GEE_TYPE_HASH_MAP, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
97
self->priv->signals_by_class_type = _tmp0_;
98
_tmp1_ = gee_hash_map_new (G_TYPE_OBJECT, (GBoxedCopyFunc) g_object_ref, g_object_unref, GEE_TYPE_HASH_MAP, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
103
99
_g_object_unref0 (self->priv->signals_by_class_instance);
104
self->priv->signals_by_class_instance = _tmp3_;
100
self->priv->signals_by_class_instance = _tmp1_;
709
707
signal_handler_ids = (GeeHashMap*) _tmp3_;
710
708
if (signal_handler_ids == NULL) {
711
709
GeeHashMap* _tmp4_ = NULL;
713
710
_tmp4_ = gee_hash_map_new (G_TYPE_UINT, NULL, NULL, G_TYPE_ULONG, NULL, NULL, NULL, NULL, NULL);
715
711
_g_object_unref0 (signal_handler_ids);
716
signal_handler_ids = _tmp5_;
712
signal_handler_ids = _tmp4_;
717
713
gee_abstract_map_set ((GeeAbstractMap*) self->priv->signals_by_class_instance, class_instance, signal_handler_ids);
719
715
gee_abstract_map_set ((GeeAbstractMap*) signal_handler_ids, GUINT_TO_POINTER (signal_id), GUINT_TO_POINTER (signal_handler_id));
781
777
GValue _tmp3_ = {0};
782
778
GValue param_value;
783
_tmp2_ = G_IS_VALUE (¶m_value_collection[param_value_it]) ? (g_value_init (&_tmp3_, G_VALUE_TYPE (¶m_value_collection[param_value_it])), g_value_copy (¶m_value_collection[param_value_it], &_tmp3_), _tmp3_) : param_value_collection[param_value_it];
779
if (G_IS_VALUE (¶m_value_collection[param_value_it])) {
780
g_value_init (&_tmp3_, G_VALUE_TYPE (¶m_value_collection[param_value_it]));
781
g_value_copy (¶m_value_collection[param_value_it], &_tmp3_);
783
_tmp3_ = param_value_collection[param_value_it];
784
786
param_value = _tmp2_;
844
846
hook_ids = (GeeHashMap*) _tmp3_;
845
847
if (hook_ids == NULL) {
846
848
GeeHashMap* _tmp4_ = NULL;
848
849
_tmp4_ = gee_hash_map_new (G_TYPE_UINT, NULL, NULL, G_TYPE_ULONG, NULL, NULL, NULL, NULL, NULL);
850
850
_g_object_unref0 (hook_ids);
852
852
gee_abstract_map_set ((GeeAbstractMap*) self->priv->signals_by_class_type, GINT_TO_POINTER (class_type), hook_ids);
854
854
gee_abstract_map_set ((GeeAbstractMap*) hook_ids, GUINT_TO_POINTER (signal_id), GUINT_TO_POINTER (hook_id));
914
914
GValue _tmp3_ = {0};
915
915
GValue param_value;
916
_tmp2_ = G_IS_VALUE (¶m_value_collection[param_value_it]) ? (g_value_init (&_tmp3_, G_VALUE_TYPE (¶m_value_collection[param_value_it])), g_value_copy (¶m_value_collection[param_value_it], &_tmp3_), _tmp3_) : param_value_collection[param_value_it];
916
if (G_IS_VALUE (¶m_value_collection[param_value_it])) {
917
g_value_init (&_tmp3_, G_VALUE_TYPE (¶m_value_collection[param_value_it]));
918
g_value_copy (¶m_value_collection[param_value_it], &_tmp3_);
920
_tmp3_ = param_value_collection[param_value_it];
917
923
param_value = _tmp2_;
955
961
const gchar* _tmp2_ = NULL;
958
965
if (g_strcmp0 (output, "") != 0) {
963
970
_tmp3_ = g_strconcat (_tmp2_, "G_SIGNAL_RUN_LAST", NULL);
964
_tmp4_ = g_strconcat (output, _tmp3_, NULL);
972
_tmp5_ = g_strconcat (output, _tmp4_, NULL);
965
973
_g_free0 (output);
969
977
if ((flags & G_SIGNAL_RUN_CLEANUP) != 0) {
970
const gchar* _tmp5_ = NULL;
978
const gchar* _tmp6_ = NULL;
973
982
if (g_strcmp0 (output, "") != 0) {
978
_tmp6_ = g_strconcat (_tmp5_, "G_SIGNAL_RUN_CLEANUP", NULL);
979
_tmp7_ = g_strconcat (output, _tmp6_, NULL);
987
_tmp7_ = g_strconcat (_tmp6_, "G_SIGNAL_RUN_CLEANUP", NULL);
989
_tmp9_ = g_strconcat (output, _tmp8_, NULL);
980
990
_g_free0 (output);
984
994
if ((flags & G_SIGNAL_DETAILED) != 0) {
985
const gchar* _tmp8_ = NULL;
988
if (g_strcmp0 (output, "") != 0) {
993
_tmp9_ = g_strconcat (_tmp8_, "G_SIGNAL_DETAILED", NULL);
994
_tmp10_ = g_strconcat (output, _tmp9_, NULL);
999
if ((flags & G_SIGNAL_ACTION) != 0) {
1000
const gchar* _tmp11_ = NULL;
995
const gchar* _tmp10_ = NULL;
1003
999
if (g_strcmp0 (output, "") != 0) {
1008
_tmp12_ = g_strconcat (_tmp11_, "G_SIGNAL_ACTION", NULL);
1004
_tmp11_ = g_strconcat (_tmp10_, "G_SIGNAL_DETAILED", NULL);
1009
1006
_tmp13_ = g_strconcat (output, _tmp12_, NULL);
1010
1007
_g_free0 (output);
1011
1008
output = _tmp13_;
1012
1009
_g_free0 (_tmp12_);
1014
if ((flags & G_SIGNAL_NO_HOOKS) != 0) {
1011
if ((flags & G_SIGNAL_ACTION) != 0) {
1015
1012
const gchar* _tmp14_ = NULL;
1016
1013
gchar* _tmp15_;
1017
1014
gchar* _tmp16_;
1018
1016
if (g_strcmp0 (output, "") != 0) {
1019
1017
_tmp14_ = " | ";
1023
_tmp15_ = g_strconcat (_tmp14_, "G_SIGNAL_NO_HOOKS", NULL);
1024
_tmp16_ = g_strconcat (output, _tmp15_, NULL);
1021
_tmp15_ = g_strconcat (_tmp14_, "G_SIGNAL_ACTION", NULL);
1023
_tmp17_ = g_strconcat (output, _tmp16_, NULL);
1028
if ((flags & G_SIGNAL_NO_HOOKS) != 0) {
1029
const gchar* _tmp18_ = NULL;
1033
if (g_strcmp0 (output, "") != 0) {
1038
_tmp19_ = g_strconcat (_tmp18_, "G_SIGNAL_NO_HOOKS", NULL);
1040
_tmp21_ = g_strconcat (output, _tmp20_, NULL);
1029
1045
result = output;