title: how to fix signal delete from cursor is invalid for instance of type GtkButton
body: <p>how to fix signal delete from cursor is invalid for instance of type GtkButton</p>
  <p>i use the signal in gtk</p>
  <pre><code>g_signal_connect_swapped(G_OBJECT(button), &quot;delete-from-cursor&quot;, G_CALLBACK(clicked_callback), entry);
  </code></pre>
  <p>the picture:</p>
  <p><a href="https://i.stack.imgur.com/FrBUf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FrBUf.png" alt="invalid for instance" /></a></p>