Example:
<inject path="namespace/class[@name='TestDrawable']">
<method name="get_width" c:identifier="girepo_test_drawable_get_width">
<return-value transfer-ownership="none">
<type name="int" c:type="gint"/>
</return-value>
</method>
</inject>
The example above will add a new method called get_with to the TestDrawable class.