<div>Hi all,</div>
<div>&nbsp;</div>
<div>I want to pass some info from plugin to app, </div>
<div>I have a info structure and write in the following way:</div>
<div>&nbsp;</div>
<div>In APP:</div>
<div>-----------------------------------------------------------------------------------------</div>
<div>struct my_info {</div>
<div>&nbsp;&nbsp;&nbsp; int info_1;</div>
<div>
<div>&nbsp;&nbsp;&nbsp; int info_2;</div></div>
<div>}</div>
<div>&nbsp;</div>
<div>struct my_info&nbsp;info;</div>
<div>&nbsp;</div>
<div>g_object_get(G_OBJECT(plugin), &quot;my-info&quot;, &amp;info, NULL);</div>
<div>------------------------------------------------------------------------------------------</div>
<div>&nbsp;</div>
<div>I want info_1 and info_2 to be set in plugin and return to app.</div>
<div>&nbsp;</div>
<div>How should I do that? what the type of property &quot;my-info&quot; should be? (g_param_spec_pointer??)&nbsp;</div>
<div>And what need to do in get_property function?</div>
<div>&nbsp;</div>
<div>Thanks in &nbsp;advance!!</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Thanks,</div>
<div>- Max</div>