droptarget: Improve the docs

Add the signal connection to the example.
This commit is contained in:
Matthias Clasen 2021-12-12 16:26:00 -05:00
parent eadc94e0a1
commit 9a872f059f

View File

@ -80,6 +80,7 @@
* GDK_TYPE_PIXBUF,
* }, 2);
*
* g_signal_connect (target, "drop", G_CALLBACK (on_drop), self);
* gtk_widget_add_controller (GTK_WIDGET (self), GTK_EVENT_CONTROLLER (target));
* }
* ```