GNOME Bugzilla – Bug 642912
[regression] build failure: gst-tool.c:411: undefined reference to `gdk_spawn_command_line_on_screen'
Last modified: 2011-02-26 18:27:24 UTC
I'm trying to build version 2.91.1 of g-s-t. I've got gtk+3.0-3.0.0 installed. CCLD network-admin Merging translations into network.desktop. ../../src/common/libsetuptool.a(gst-tool.o): In function `gst_tool_show_help': /home/ronis/Project/notar/GNOME/garnome/desktop/gnome-system-tools/work/main.d/gnome-system-tools-2.91.1/src/common/gst-tool.c:411: undefined reference to `gdk_spawn_command_line_on_screen'
I've updated gtk+ to 3.0.1. The problem remains.
I think I fixed this simply by replacing the call to gdk_spawn_command_line_on_screen by g_spawn_command_line_async (command, &error); That's what the gdk docs suggest, although I also could have used g_spawn_command_line_sync().
Yeah, that's really trivial. We need something along the lines of http://git.gnome.org/browse/gnome-panel/commit/?h=gtk3&id=53ee7d2f39a30df4559920bb8044d9ac3b17ee97 I'll fix that in a few days, feel free to provide a patch before that. ;-)
I've pushed the fix and released 2.91.90 with it.