--- a/src/sys_GTK.c
+++ b/src/sys_GTK.c
@@ -64,7 +64,11 @@
 	if (tooltips_data && tooltips_data->tip_private)
 		help_id = tooltips_data->tip_private;
 	else
+#ifdef GIMP_2_0
+		help_id = g_object_get_data (G_OBJECT (widget), "gimp-help-id");
+#else
 		help_id = g_object_get_qdata (G_OBJECT (widget), GIMP_HELP_ID);
+#endif
 
 	DTRACE("Attempting to open help id: %s", help_id);