<div>Hi all,</div>
<div> </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> </div>
<div>In APP:</div>
<div>-----------------------------------------------------------------------------------------</div>
<div>struct my_info {</div>
<div> int info_1;</div>
<div>
<div> int info_2;</div></div>
<div>}</div>
<div> </div>
<div>struct my_info info;</div>
<div> </div>
<div>g_object_get(G_OBJECT(plugin), "my-info", &info, NULL);</div>
<div>------------------------------------------------------------------------------------------</div>
<div> </div>
<div>I want info_1 and info_2 to be set in plugin and return to app.</div>
<div> </div>
<div>How should I do that? what the type of property "my-info" should be? (g_param_spec_pointer??) </div>
<div>And what need to do in get_property function?</div>
<div> </div>
<div>Thanks in advance!!</div>
<div> </div>
<div> </div>
<div>Thanks,</div>
<div>- Max</div>