]> git.tdb.fi Git - ext/subsurface.git/commit
Use the correct signal to avoid Gtk-CRITICAL error message
authorDirk Hohndel <dirk@hohndel.org>
Wed, 28 Sep 2011 00:03:15 +0000 (17:03 -0700)
committerDirk Hohndel <dirk@hohndel.org>
Wed, 28 Sep 2011 00:03:15 +0000 (17:03 -0700)
commitfda230235ce8879736803dc9e0ae918ce471201f
tree9ebbbaac094a0b3a7abe037198dfd02b2988d750
parentf4d50ffa3b4237447093c1cef9cbe945d22ceb84
Use the correct signal to avoid Gtk-CRITICAL error message

We used the wrong signal - "data-drag-received" is intended to check
whether the target will accept the drop. What we want is the "drag-drop"
signal which tells the widget that something was dropped on it.

Also fix an embarrassing lack of NULL pointer checks in my string
comparisons...

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
gtk-gui.c